diff options
author | XANTRONIX Development | 2022-02-03 18:10:50 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-03 18:10:50 -0500 |
commit | e342eb1c2e0c75183491e36f14e36bc44faa60d0 (patch) | |
tree | 96971fc01909bc6d5393546279f9b0727069bb0c /src | |
parent | c3ce5c1fdd5525c9618f0e4c24ef75349ec2ac4e (diff) | |
download | xas-e342eb1c2e0c75183491e36f14e36bc44faa60d0.tar.gz xas-e342eb1c2e0c75183491e36f14e36bc44faa60d0.tar.bz2 xas-e342eb1c2e0c75183491e36f14e36bc44faa60d0.zip |
i'm a dingus cat :333
Diffstat (limited to 'src')
-rw-r--r-- | src/bank.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -124,7 +124,9 @@ static ssize_t stream_fill(xas_bank *bank, xas_bank_stop(bank); } } else { - memset(ptr(stream, samples, index_o), '\0', left); + memset(ptr(stream, samples, index_o), + '\0', + left * stream->channels * stream->sample_size); index_o += left; left = 0; |