diff options
Diffstat (limited to 'src/qmmp/channelconverter.cpp')
| -rw-r--r-- | src/qmmp/channelconverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmp/channelconverter.cpp b/src/qmmp/channelconverter.cpp index b8139e4e6..9c693a05e 100644 --- a/src/qmmp/channelconverter.cpp +++ b/src/qmmp/channelconverter.cpp @@ -68,7 +68,7 @@ void ChannelConverter::applyEffect(Buffer *b) int j = 0; float *data = b->data; - for(i = 0; i < b->samples; ++i) + for(i = 0; i < b->samples / m_channels; ++i) { memcpy(m_tmp_buf, data, m_channels * sizeof(float)); for(j = 0; j < m_channels; ++j) |
