c - Alsa device repeating sound -


when not providing new data buffer playback device, repeats given data buffer. how overcome this?

tried snd_pcm_drop , snd_pcm_prepare. didn't helped.

in sw params have used, snd_pcm_sw_params_set_start_threshold() - start playback when available frames >= threshold value. , same snd_pcm_sw_params_set_stop_threshold().

any appriciated.

i have seen snd_pcm_sw_params_set_silence_threshold() api, dont know helpful in case or not.

thanks fantastic post. fixed issue.

http://www.spinics.net/linux/fedora/alsa-user/msg09906.html


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -