Re: [gnome-love] Retrieve sound settings



On Sun, 2011-08-07 at 15:39 +0200, Juan Rafael Garcia Blanco wrote:
Hello,
I'm trying to retrieve the volume setting of alerts. I've done a
search using d-feet to check if some module exposes that setting, but
I could not find anything. I have also checked dconf, and found
nothing. I have read some of the gnome-control-center source code
relating to sound settings, and it seems to use hardwire pulseaudio.
Then I have two questions: does Gnome use definitely pulseaudio as
audio server (I mean on every linux/bsd distribution)? and is there
some way to retrieve the information I want without dealing with
pulseaudio APIs?

We use the PulseAudio settings for that. Any particular reason why you
would want to get that volume? If it's just to play some sound at that
volume, there's easier ways to do it (like not caring, and playing the
sound saying you are an event sound).




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