Bastien Nocera
e34dd3bb83
sound: Fix incorrectly documented return type
...
gvc_mixer_control_get_stream_from_device returns a GvcMixerStream,
not a container that contains one of those.
2012-08-21 17:43:27 +01:00
Bastien Nocera
3cf252f4f0
sound: Remove support code for older PulseAudio
...
our define of PA_VOLUME_UI_MAX was only needed for PA 0.9.22 and older.
2012-07-11 16:24:53 +01:00
Conor Curran
1dfd464a59
sound: Add support for GvcMixerUIDevices in GvcMixerControl
...
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:47 +01:00
Bastien Nocera
3201240eee
sound: Add more debug
2012-07-11 16:20:44 +01:00
Bastien Nocera
e2a75e76c2
sound: Remove unused eol parameter
2012-07-11 11:21:18 +01:00
David Henningsson
ca29f85201
sound: Fixup "set default source" patch
...
The previous commit introduced a segfault due to referencing a
NULL pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=674925
2012-07-11 11:04:14 +01:00
David Henningsson
fe69f4f135
sound: Move running input streams when default source is changed
...
When changing the default input source, active recording streams
are not moved. This patch will fix that, which will make input
and output behaviour consistent.
As a bonus, it will not destroy pulseaudio's input database when
changing default sink anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=674925
2012-06-27 16:13:47 +01:00
Bastien Nocera
b202b0a9b3
sound: Export sysfs path in stream properties
...
Which makes it easier to locate devices in the UDev tree.
2011-11-03 17:56:29 +00:00
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