18 Aug
2011
18 Aug
'11
5:06 p.m.
With the new/upcoming version of PulseAudio (0.99.x) there is a protocol addition that makes it possible to handle underruns better in the pulse plugin.
The attached patch implements that, but it has two flaws I wouldn't mind getting some help with if possible:
1) Since this uses the new API function pa_stream_get_underflow_index, it won't compile with current stable PulseAudio versions, only the upcoming version.
2) So now there are three possibilities for handle_underrun ( 0 = never, 1 = always, 2 = the new improved one that IMO should be used). Since handle_underrun is a bool in the config, it can not be set to "2", only 0 or 1.
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic