Re: [PATCH] Two patches for Alsa-plugins (pulse)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/7/10 David Henningsson <launchpad.web@xxxxxxxxxxxxxx>

>
>
> > PA developer often complain the driver did not provide accurate playback
> > position by the pcm_pointer callback
> >
> > Did the pulse_pointer callback also provide accurate position of the
> pulse
> > device ?
>
> Yes, but it provides the pointer to the fake ring buffer (the alsa-lib
> plugin system expects that all pcm plugins are ring buffers, which seems
> to me like a design flaw).
>
>
This mean that pulse_pointer jump suddenly when PA wake up from sleep and
write audio to sound card until the ring buffer is empty, Those "0 bytes in
queue " message is the result of PA server flush the ring buffer.

Did alsa-lib regard this condition as underrun, since the application
pointer and hardware pointer of the pulse device  seem at the same point ?

Is this the reason why alsa-time-test.c fail on the pulse device ?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux