Specify the buffer size to ALSA, so the period count remains flexible
commit11d7a0e394b6ec4fcc23b73800fbe7eb0bb8bc70
authorChris Robinson <chris.kcat@gmail.com>
Wed, 20 Jan 2010 09:19:32 +0000 (20 01:19 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Wed, 20 Jan 2010 09:19:32 +0000 (20 01:19 -0800)
tree3a99ec83e4fbb70b323d88b4a34be4e469f9e613
parent3ad86a1c1b592579514d07495f5feac97c3a8131
Specify the buffer size to ALSA, so the period count remains flexible
Under conditions where the period size is fixed (such as dmix), ALSA will still
attempt to provide the requested number of periods even if the requested period
size needs to be dramatically altered. In these cases, it would be better to
increase or decrease the period count, instead of growing or shrinking the
total buffer size and significantly changing the latency.
Alc/alsa.c