Re: safe support for rewind in ALSA

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

 



On Thu, 11 Feb 2010, Clemens Ladisch wrote:

>> Do you mean that PA only wake up once when configure sound card to use two
>> periods per buffer ?
>
> When using two periods per buffer, ALSA tries to wake up PA two times.
> However, PA ignores the sound card's interrupts and is woken up by its
> own timer.

PA can drive the wake-ups using avail_min sw parameter. If this value is 
high enough, no userspace wake up is called, only interrupt is processed 
and internal ring buffer pointers in the driver are updated.

 					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
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