27 Apr
2009
27 Apr
'09
12:18 p.m.
On Mon, Apr 27, 2009 at 12:12:14PM +0200, Takashi Iwai wrote:
The ALSA PCM core just relies upon two things from the lowlevel driver:
- The lowlevel driver calls snd_pcm_period_elapsed() at each time when the set-up period size has been processed by the hardware.
- The pointer callback reports the sane position as the current position; not below the previous position and not above the next period boundary.
Especially pulseaudio is very sensitive about these two things, because it always asks the driver the current position. Thus, if your driver doesn't fulfill the above conditions, it won't work properly.
Oh well. Stupid me. I think I fixed it, and wonder why it didn't break more things. Could you apply the patch below?
If you provide a proper changelog and your sign-off ;)
Oops :)