It is extremely interesting that the buffer is so large on Lucid. When
the buffer is 33791 and the playback is 44100 this causes nearly a
second delay between audio being buffered and being played. With a
1048576 buffer that will be 23 seconds.

Also, while the underrunning may well be hardware dependent, PulseAudio
closing and reopening the audio sink when a buffer underrun happens is
not, and means that a program such as the example I posted can do a
denial of service attack on Pulse just by intentionally underrunning the
buffer repeatedly - which causes Pulse to eat 100% CPU opening and
closing the sink.

-- 
PulseAudio ALSA plugin opens and closes the PulseAudio sink several times per 
second for no reason
https://bugs.launchpad.net/bugs/503174
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to