From 26ebea0262f0664c4cd90664da52f4d9f6a9c8bc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Mar 2014 13:41:20 +0100 Subject: alsa input improvements, not working --- src/AlsaInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AlsaInput.cpp') 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); } } -- cgit v1.2.3