diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/test.c b/examples/test.c index 36ba034..2579952 100644 --- a/examples/test.c +++ b/examples/test.c @@ -123,11 +123,11 @@ int main(int argc, char **argv) { } for (i=0; i<duration_s; i++) { - int16_t *buf; + void *buf; ssize_t readlen; if ((readlen = xas_audio_stream_read(mixer->output, - (void **)&buf, + &buf, sample_rate)) < 0) { goto error_audio_stream_read; } |