summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bank.c2
-rw-r--r--src/riff.c4
-rw-r--r--src/synth.c2
-rw-r--r--src/vox.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/bank.c b/src/bank.c
index 8c17bb3..726de08 100644
--- a/src/bank.c
+++ b/src/bank.c
@@ -102,7 +102,7 @@ xas_audio_stream *xas_bank_stream_new(xas_bank *bank) {
return xas_audio_stream_new_source((xas_audio_fill)bank_fill,
(xas_audio_cleanup)bank_cleanup,
bank,
- XAS_AUDIO_STREAM_MONO,
+ XAS_AUDIO_MONO,
bank->sample_size,
bank->sample_rate,
bank->entry_size);
diff --git a/src/riff.c b/src/riff.c
index 0184a30..ce788f5 100644
--- a/src/riff.c
+++ b/src/riff.c
@@ -143,8 +143,8 @@ static int wave_header_parse(xas_riff *riff,
}
switch (header->wave.channels) {
- case XAS_AUDIO_STREAM_MONO:
- case XAS_AUDIO_STREAM_STEREO:
+ case XAS_AUDIO_MONO:
+ case XAS_AUDIO_STEREO:
break;
default:
diff --git a/src/synth.c b/src/synth.c
index 2e77748..6dd14ea 100644
--- a/src/synth.c
+++ b/src/synth.c
@@ -45,7 +45,7 @@ xas_audio_stream *xas_synth_new(size_t sample_size,
if ((stream = xas_audio_stream_new_source((xas_audio_fill)synth_fill,
(xas_audio_cleanup)synth_cleanup,
synth,
- XAS_AUDIO_STREAM_MONO,
+ XAS_AUDIO_MONO,
sample_size,
sample_rate,
buffer_size)) == NULL) {
diff --git a/src/vox.c b/src/vox.c
index 7fec432..3433121 100644
--- a/src/vox.c
+++ b/src/vox.c
@@ -275,7 +275,7 @@ xas_audio_stream *xas_vox_stream_new(xas_vox *vox) {
return xas_audio_stream_new_source((xas_audio_fill)vox_fill,
(xas_audio_cleanup)vox_cleanup,
vox,
- XAS_AUDIO_STREAM_MONO,
+ XAS_AUDIO_MONO,
vox->sample_size,
vox->sample_rate,
vox->buffer_size);