diff options
Diffstat (limited to 'examples/test.c')
-rw-r--r-- | examples/test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/test.c b/examples/test.c index 272e32d..cc14571 100644 --- a/examples/test.c +++ b/examples/test.c @@ -64,8 +64,8 @@ int main(int argc, char **argv) { goto error_synth_new_l; } - if ((synth_l = xas_synth_new_stream(sine_l)) == NULL) { - goto error_synth_new_stream_l; + if ((synth_l = xas_synth_stream_new(sine_l)) == NULL) { + goto error_synth_stream_new_l; } if ((sine_r = xas_synth_new(format, @@ -74,8 +74,8 @@ int main(int argc, char **argv) { goto error_synth_new_r; } - if ((synth_r = xas_synth_new_stream(sine_r)) == NULL) { - goto error_synth_new_stream_r; + if ((synth_r = xas_synth_stream_new(sine_r)) == NULL) { + goto error_synth_stream_new_r; } if ((mixer = xas_mixer_new(format, buffer_size)) == NULL) { @@ -130,13 +130,13 @@ error_mixer_input_add: error_mixer_new: xas_audio_stream_destroy(synth_r); -error_synth_new_stream_r: +error_synth_stream_new_r: xas_synth_destroy(sine_r); error_synth_new_r: xas_audio_stream_destroy(synth_l); -error_synth_new_stream_l: +error_synth_stream_new_l: xas_synth_destroy(sine_l); error_synth_new_l: |