clemens at ladisch.de
Wed Sep 21 09:09:25 CEST 2011
Clemens Ladisch wrote:
> Raymond Yau wrote:
> > but snd_pcm_hw_params_get_rate_min() is still 8000Hz
> This should not happen. I'd guess the rules engine hasn't noticed
> that some parameters affected by the new rule need to change.
> Please try the patch below. But there might be drivers where other
> parameters are affected by SND_PCM_HW_PARAMS_NORESAMPLE, so I guess
> all parameter bits need to be set.
updated and applied:
> > This patch won't affect the accuracy of the playback position of the ymfpci
When resampling is used, the interval between period interrupts is not
strictly constant, but with the noresample flag set, I guess it might
make sense to restrict the period size to a multiple of the hardware
period size. This would at least remove the jitter from the ALSA period
The ymfpci hardware has a global sample counter, but AFAICS it is not
possible to reliably get its value at the time of a period boundary.
More information about the Alsa-devel