[pulseaudio-discuss] Controlling alsa and pulseaudio buffer size?
rtoy at google.com
Thu Sep 15 10:49:34 PDT 2011
On Wed, Sep 14, 2011 at 4:30 PM, Kurt Taylor <kurt.taylor at linaro.org> wrote:
> On 14 September 2011 16:25, Raymond Toy <rtoy at google.com> wrote:
>> In my application, I'm using alsa to set a particular buffer size. Alsa
>> usually complies, but from everything that I can tell, pulse audio is using
>> some other fragment size. This other fragment size also seems to be the
>> time betwen interrupts which my application sees. This messes up my
>> application because it wants the interrupts at regular intervals based on
>> the buffer size I set.
>> Is there some way to make alsa and pulseaudio agree on the size?
> It is possible to turn off the ALSA period wakes in tschedule mode on some
> hardware. This would allow pulseaudio to manage it.
> See this thread:
> So I should call snd_pcm_hw_params_get_period_wakeup to turn off the ALSA
period wakeups? Then pulseaudio will manage it and use the period size that
I have set?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss