diff options
| -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; | 
 
    