microphone, will intermittently fail to negotiate sufficient bus bandwidth
if resampling is disabled.
git-svn-id: https://svn.code.sf.net/p/freetel/code@1551
01035d8c-6547-0410-b346-
abe4f91aad63
do_throw(error, name, stream, "Set rate");
}
- if ( (error = snd_pcm_hw_params_set_rate_resample(handle, hw_params, 0)) < 0 ) {
- snd_pcm_close(handle);
- do_throw(error, name, stream, "Disable resampling");
- }
-
if ( (error = snd_pcm_hw_params_set_period_size_near(handle, hw_params, &period_size, 0)) < 0 ) {
snd_pcm_close(handle);
do_throw(error, name, stream, "Set I/O period size");