Re: [pulseaudio-discuss] Why Gnome "System Sounds" is not a normal program?

2012-01-02 Thread Lennart Poettering
On Tue, 03.01.12 00:53, Roman Beslik (rabes...@gmail.com) wrote: > Hello. > > As far as I understand, PulseAudio uses an interesting strategy of > routing sound to several sound cards. Instead of selecting a sound > card in each client, a sound card is selected in a general program, > e.g. "pavuc

[pulseaudio-discuss] a sounding program with several output streams

2012-01-02 Thread Roman Beslik
Hello. There are programs which output several sound streams. The reason is that streams can be routed to different sound cards (if a user have them) for enhanced user experience. E.g., Skype outputs incoming call ringing to speakers and talk to a handset. Because programs do not chose a soun

[pulseaudio-discuss] Why Gnome "System Sounds" is not a normal program?

2012-01-02 Thread Roman Beslik
Hello. As far as I understand, PulseAudio uses an interesting strategy of routing sound to several sound cards. Instead of selecting a sound card in each client, a sound card is selected in a general program, e.g. "pavucontrol." There is an exception. The program "System Sounds" is always pr

Re: [pulseaudio-discuss] [PATCH] mainloop: Map POLLNVAL to PA_IO_EVENT_ERROR.

2012-01-02 Thread Tanu Kaskinen
On Fri, 2011-12-30 at 09:06 +0530, Arun Raghavan wrote: > On Wed, 2011-12-28 at 14:29 +0200, Tanu Kaskinen wrote: > > I don't see any reason why POLLNVAL should be ignored like > > it is now without this patch. PA_IO_EVENT_ERROR seems to be > > the best choice for reporting the IO event type, becau

Re: [pulseaudio-discuss] [PATCH 0/4] Error handling and its documentation in the public API

2012-01-02 Thread John Haxby
On 1 Jan 2012, at 21:27, Peter Meerwald wrote: > + * The PulseAudio API indicates error conditions by returning a negative > + * integer value or a NULL pointer. On success, a positive integer value > + * or a valid pointer is returned. Without knowing anything of the API, my immediate question