diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-07 13:41:20 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-07 13:41:20 +0100 |
commit | 26ebea0262f0664c4cd90664da52f4d9f6a9c8bc (patch) | |
tree | cd0c874ba1395b4ae7b003f4b48a231383f1080f /src/AlsaInput.cpp | |
parent | 5e9fe473ba528f336dd86ce9d3d7d3e40410db54 (diff) | |
download | ODR-AudioEnc-26ebea0262f0664c4cd90664da52f4d9f6a9c8bc.tar.gz ODR-AudioEnc-26ebea0262f0664c4cd90664da52f4d9f6a9c8bc.tar.bz2 ODR-AudioEnc-26ebea0262f0664c4cd90664da52f4d9f6a9c8bc.zip |
alsa input improvements, not working
Diffstat (limited to 'src/AlsaInput.cpp')
-rw-r--r-- | src/AlsaInput.cpp | 2 |
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); } } |