diff options
author | XANTRONIX Development | 2022-02-01 00:44:23 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-01 00:44:23 -0500 |
commit | 09d69d9f83b83326c670600c5f9dfc4f843df86a (patch) | |
tree | d7fec18baf98d698c5072aeee64e2c3494ab4d27 /examples | |
parent | 4db12c6c0442a284b3c8c3b3aaf196aca546130a (diff) | |
download | xas-09d69d9f83b83326c670600c5f9dfc4f843df86a.tar.gz xas-09d69d9f83b83326c670600c5f9dfc4f843df86a.tar.bz2 xas-09d69d9f83b83326c670600c5f9dfc4f843df86a.zip |
eh this doesn't matter
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; } |