summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-15 20:52:32 -0500
committerXANTRONIX Development2022-02-15 20:52:32 -0500
commit1fe063a6d66048e6f95d1f60a7d7f837799cefe7 (patch)
tree45c5dbde3c59bc3952667634076f540c0ab50cf6 /include
parent1a20363a470b94e4ebf63819cd3a8adf6347cf29 (diff)
downloadxas-1fe063a6d66048e6f95d1f60a7d7f837799cefe7.tar.gz
xas-1fe063a6d66048e6f95d1f60a7d7f837799cefe7.tar.bz2
xas-1fe063a6d66048e6f95d1f60a7d7f837799cefe7.zip
Implement xas_audio_stream_buffer()
Implement xas_audio_stream_buffer() to return the input/output buffer associated with an audio stream
Diffstat (limited to 'include')
-rw-r--r--include/xas/audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xas/audio.h b/include/xas/audio.h
index ab6bce4..3a9ab69 100644
--- a/include/xas/audio.h
+++ b/include/xas/audio.h
@@ -84,6 +84,8 @@ xas_audio_stream *xas_audio_stream_new_source(xas_audio_fill fill,
void xas_audio_stream_destroy(xas_audio_stream *stream);
+void *xas_audio_stream_buffer(xas_audio_stream *stream);
+
ssize_t xas_audio_stream_write(xas_audio_stream *stream,
void *samples,
size_t count);