summaryrefslogtreecommitdiffstats
path: root/src/converter.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-02 20:43:55 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-02 20:43:55 +0000
commitb33f5a60de5e34b8a154a312e3b29c1bea5b3ec6 (patch)
tree641b4d5c6e59178112ac06c53cca4b717f136771 /src/converter.h
parent34b80d3c834a3cefac36454647da3a18de3e8fbd (diff)
code cleanups
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@38 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'src/converter.h')
-rw-r--r--src/converter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/converter.h b/src/converter.h
index 30453df..39338c2 100644
--- a/src/converter.h
+++ b/src/converter.h
@@ -19,8 +19,8 @@ struct sa_converter {
unsigned from_nchannels, to_nchannels;
unsigned from_rate, to_rate;
- int sum_required;
- int remap_required;
+ sa_bool_t sum_required;
+ sa_bool_t remap_required;
sa_pcm_format_t work_pcm_format;
@@ -50,7 +50,7 @@ struct sa_converter {
size_t *from_stride, *to_stride;
int32_t *volume_factor, *volume_divisor;
- int no_volume;
+ sa_bool_t no_volume;
int *channel_map_table;
@@ -58,7 +58,7 @@ struct sa_converter {
size_t zero_size;
};
-int sa_converter_init(sa_converter_t *c, const pcm_attrs_t *from, const pcm_attrs_t *to, int dynamic_rate_enabled);
+int sa_converter_init(sa_converter_t *c, const pcm_attrs_t *from, const pcm_attrs_t *to, sa_bool_t dynamic_rate_enabled);
void sa_converter_done(sa_converter_t *c);
int sa_converter_go(