Commit graph

7 commits

Author SHA1 Message Date
Giovanni Campagna
a57f32a4e2 GnomeVolumeControl: track PulseAudio connection state and expose it
Adds get_state() and ::state-changed signals, that replace connecting
and ready, as well as providing indication of when the object was closed
or the connection to PulseAudio failed.

https://bugzilla.gnome.org/show_bug.cgi?id=645708
2011-08-26 00:25:05 +02:00
Bastien Nocera
b7f42ae161 sound: Remove old support code for PA < 0.9.15 2011-03-14 22:23:22 +00:00
Colin Guthrie
a9555f52d0 sound: Use upstream value for amplified volume
In order to standardise various separate volume UIs,
upstream PulseAudio has made a new define available for the
recommended
maximum volume to show in UIs. This volume was chosen to be
similar to the value currently employed in gvc but also be
based on dB values rather than a multiple of PA_VOLUME_NORM.

The 150% value previously used mapped to +10.57dB with the
current cubic volume mapping. In the interests of sanity,
and with a tip of the hat to Spinal Tap, we decreed that the
value should be +11dB. This is approx 153% which is doesn't really
change the visual look of GVC.

I will also be recommending other volume controls use this new
value so everyone can use the mixer they want.

This one goes up to 11. :)

References:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
http://en.wikipedia.org/wiki/Up_to_eleven

https://bugzilla.gnome.org/show_bug.cgi?id=644292
2011-03-11 16:29:39 +00:00
Kjartan Maraas
ab453dc044 Initialize variable to avoid using uninitialized memory later 2011-03-02 20:06:20 +01:00
Thomas Wood
dfd897496b sound: Remove the reconnect timeout during the dispose of GvcMixerControl
Remove the reconnect timeout so that the callback function is not called
after the object has been destroyed.
2010-12-20 16:50:26 +00:00
Bastien Nocera
744871943a Show icons for devices
Show device icons in the stream treeviews. Use GIcon
to get automatic fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=581917
2010-11-19 16:23:32 +00:00
William Jon McCann
6638e984ca Initial import of sound panel
Copied from gnome-media.  See that module for git history.
2010-10-30 14:48:55 -04:00