summaryrefslogtreecommitdiffstats
path: root/src/converter.h
diff options
context:
space:
mode:
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(