summaryrefslogtreecommitdiffstats
path: root/src/AlsaInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlsaInput.cpp')
-rw-r--r--src/AlsaInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AlsaInput.cpp b/src/AlsaInput.cpp
index fd1feec..8b6f790 100644
--- a/src/AlsaInput.cpp
+++ b/src/AlsaInput.cpp
@@ -133,7 +133,7 @@ void AlsaInput::process()
while (m_running) {
size_t n = read(samplebuf, NUM_SAMPLES_PER_CALL);
- m_queue.push(samplebuf, n);
+ m_queue.push(samplebuf, BYTES_PER_SAMPLE*m_channels*n);
}
}