diff options
author | XANTRONIX Development | 2022-02-02 00:49:51 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-02 00:49:51 -0500 |
commit | c5c552efb3516b516a7ea703687e2a55573c9ffd (patch) | |
tree | 0a2b2438e2ac9aa23cc2c80792ff248bb557b665 /src | |
parent | 23044950ddda47604d30fd81127647707dcce09c (diff) | |
download | xas-c5c552efb3516b516a7ea703687e2a55573c9ffd.tar.gz xas-c5c552efb3516b516a7ea703687e2a55573c9ffd.tar.bz2 xas-c5c552efb3516b516a7ea703687e2a55573c9ffd.zip |
Ensure number of samples written is returned
Diffstat (limited to 'src')
-rw-r--r-- | src/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c index 10f7a34..641bb93 100644 --- a/src/audio.c +++ b/src/audio.c @@ -167,7 +167,7 @@ ssize_t xas_audio_stream_write(xas_audio_stream *stream, } } - return 0; + return index_i; error_stream_drain: return -1; |