summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-01 00:44:23 -0500
committerXANTRONIX Development2022-02-01 00:44:23 -0500
commit09d69d9f83b83326c670600c5f9dfc4f843df86a (patch)
treed7fec18baf98d698c5072aeee64e2c3494ab4d27
parent4db12c6c0442a284b3c8c3b3aaf196aca546130a (diff)
downloadxas-09d69d9f83b83326c670600c5f9dfc4f843df86a.tar.gz
xas-09d69d9f83b83326c670600c5f9dfc4f843df86a.tar.bz2
xas-09d69d9f83b83326c670600c5f9dfc4f843df86a.zip
eh this doesn't matter
-rw-r--r--examples/test.c4
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;
}