summaryrefslogtreecommitdiffstats
path: root/src/AlsaInput.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 16:00:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 16:00:54 +0100
commitc2863cf4bee6459f1bb72c73bcf83596051cf96d (patch)
treeb336b0894c21d620fbbf95294dddab831ce6b3cd /src/AlsaInput.cpp
parent89715eaa5e02c852e26caaa1854902335cbba794 (diff)
downloadODR-AudioEnc-c2863cf4bee6459f1bb72c73bcf83596051cf96d.tar.gz
ODR-AudioEnc-c2863cf4bee6459f1bb72c73bcf83596051cf96d.tar.bz2
ODR-AudioEnc-c2863cf4bee6459f1bb72c73bcf83596051cf96d.zip
Improve VLC samplerate conversion by asking float samples
Asking floats from VLC instead of signed 16-bit samples allows VLC to use the libsamplerate resampler instead of the ugly_resampler. Otherwise it might convert to s16l first, and refuse to use libsamplerate which is unable to work with that data format.
Diffstat (limited to 'src/AlsaInput.cpp')
0 files changed, 0 insertions, 0 deletions