Commit graph

99 commits

Author SHA1 Message Date
Conor Curran
2a567809a2 sound: Add "available" member to GvcMixerStreamPort
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:40 +01:00
Bastien Nocera
6135c964a7 sound: Add gvc_mixer_ui_device_get_active_profile() helper
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:36 +01:00
Bastien Nocera
0489296c33 sound: Fix indentation 2012-07-11 16:20:36 +01:00
Conor Curran
e32a02e2dd sound: Make sort_profiles public
And rename it to gvc_mixer_card_profile_compare()

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 16:20:32 +01:00
Conor Curran
e5e7080e4e sound: Add get_gicon() function to GvcMixerCard
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:28:52 +01:00
Bastien Nocera
4da83052d2 sound: Indentation in gvc-mixer-card.h 2012-07-11 12:25:31 +01:00
Conor Curran
fd75ccd894 sound: Expose ports in GvcMixerCard
https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:25:17 +01:00
Conor Curran
db6afc8266 sound: Add new UIDevice object
GvcMixerUIDevice objects correspond to an item on either the input
or output tab - typically "Headphones", "Speaker", "Internal Mic" etc.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-07-11 12:04:08 +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
25708e9c8e sound: Make sure the event sound stream stays unmuted
Apply mute changes to the stream straight away so that we don't get a
race with gvc_mixer_event_role_push_volume().
See https://bugs.freedesktop.org/show_bug.cgi?id=51413 for details.

https://bugzilla.gnome.org/show_bug.cgi?id=677478
2012-06-25 16:38:16 +01:00
Matthias Clasen
bb531687ca sound: Fix mouse scrolls on sliders
Use gdk_event_get_scroll_deltas() to get the scroll direction.

https://bugzilla.gnome.org/show_bug.cgi?id=671724
2012-06-25 13:41:31 +01:00
Bastien Nocera
75cc274a3b sound: Fix use of deprecated gtk_vscale_new() 2012-06-25 13:33:31 +01:00
Bastien Nocera
9859ffbc27 sound: Remove left-click behaviour work-around
https://bugzilla.gnome.org/show_bug.cgi?id=678598
2012-06-25 13:33:31 +01:00
Bastien Nocera
e9288acf1c sound: Add audio keyword
https://bugzilla.gnome.org/show_bug.cgi?id=678303
2012-06-18 11:05:19 +01:00
Florian Müllner
45b793848f sound: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Robert Ancell
01f7545df2 sound: Stop using deprecated gtk_hscale_new
https://bugzilla.gnome.org/show_bug.cgi?id=669622
2012-02-08 12:11:02 +00:00
Robert Ancell
fb88ac92ba sound: Stop using deprecated gtk_hbox_new/gtk_vbox_new
https://bugzilla.gnome.org/show_bug.cgi?id=669619
2012-02-08 12:11:02 +00:00
Antoine Jacoutot
2c57a2896c sound: fix a couple of implicit declarations
Include math.h to prevent implicit/incompatible declarations on round(3).

https://bugzilla.gnome.org/show_bug.cgi?id=669025
2012-01-30 14:12:23 +00:00
Bastien Nocera
ca0f4b204b sound: Scrolling on balance only works for right
We used to use 0.0 as the lower bound value but the lower bound
value is -1.0, which means "all the way to the left" for right-left
balance.

Spotted by Jo-Erlend Schinstad

https://bugzilla.gnome.org/show_bug.cgi?id=668315
2012-01-23 21:12:19 +00:00
Guillaume Desmottes
d0db3c96e2 gvc-level-bar: fix shadow global declaration warnings
Those variables are already defined in some headers (like bits/math-finite.h)
making gcc unhappy.

https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Guillaume Desmottes
5568917080 gvc-level-bar: define priv->scale as a GvcLevelScale
That's cleaner and fix a sign-compare warning in gcc.

https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
a8e2bbfdc6 sound: Port audible-bell to GSettings
Now that metacity and mutter have been ported to GSettings

https://bugzilla.gnome.org/show_bug.cgi?id=625899
2011-11-14 10:50:13 +00:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00: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
Bastien Nocera
d453a9841d sound: Add a minimum height for the output list
Combined with the changes to the output list to only
use a single line instead of multi-line status, this should
make it easier to see multiple devices listed.

https://bugzilla.gnome.org/show_bug.cgi?id=660582
2011-10-24 14:41:44 +01:00
Bastien Nocera
f625fbbb59 sound: Fix possible infinite loop in combo box 2011-10-20 16:10:06 +01:00
Bastien Nocera
bafe9c4020 sound: volume is unsigned so cannot be <= 0 2011-10-20 16:08:53 +01:00
Alberto Ruiz
3630015d94 Update icon cache only on MAINTAINER_MODE 2011-10-05 16:45:13 +01:00
Bastien Nocera
d592244514 sound: Allow switching tabs from the command-line 2011-09-08 17:00:59 +01:00
Bastien Nocera
eeffc8e385 sound: Remove unused variable 2011-09-08 17:00:58 +01:00
Bastien Nocera
48b2a58add sound: Put the level bar at 0 when muting
https://bugzilla.gnome.org/show_bug.cgi?id=644537
2011-09-07 18:16:15 +01:00
Bastien Nocera
53f86cca2c sound: Don't use multiple lines in the output selection
https://bugzilla.gnome.org/show_bug.cgi?id=642033
2011-09-07 18:09:38 +01:00
Bastien Nocera
1792220c20 sound: Reorder the panel pages
So that the oft used page is the first one in the list.
2011-09-07 17:48:51 +01:00
Bastien Nocera
a58bb45cba sound: Show a mute switch instead of a checkbox
The switch use here matches exactly the usage guidelines.
2011-09-07 17:28:49 +01:00
Dan Winship
3295036afb sound: Add some (element-type) annotations to appease g-i master
See gnome-shell commit 14e8cba2b184b16d0dbd9beb929860a1e1155709
2011-08-31 09:40:29 +01:00
Bastien Nocera
9c530a43e2 sound: Fix sizing of sliders 2011-08-26 23:12:31 +01:00
Bastien Nocera
dde5d76045 sound: Don't warn without a sizegroup
Makes it easier to disable the sizegroup to debug layout problems
2011-08-26 23:03:59 +01:00
Giovanni Campagna
1488246ff2 Update volume-control applet for GVC API changes.
"ready" and "connecting" signals were replaced by a single
"state-changed".

https://bugzilla.gnome.org/show_bug.cgi?id=645708
2011-08-26 00:25:05 +02: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
3406d2bd47 sound: Remove trailing spaces in strings
https://bugzilla.gnome.org/show_bug.cgi?id=657169
2011-08-25 17:30:08 +01:00
David Henningsson
8c0a2279c1 sound: Update the sound theme for speaker testing
https://bugzilla.gnome.org/show_bug.cgi?id=647254
2011-08-01 16:22:41 +01:00
Bastien Nocera
ec0c15e7e1 sound: Make hadware page tree a little taller
By default.
2011-07-14 23:28:17 +01:00
Michael Terry
30302acefa Remove extraneous line from the sound applet .desktop file. 2011-06-30 12:50:42 +01:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Bastien Nocera
b041e65955 sound: Fix direction of speaker test in RTL languages
https://bugzilla.gnome.org/show_bug.cgi?id=651273
2011-05-27 18:47:18 +01:00
Matthias Clasen
c6ed45a0dc Fix a11y/keynav issues in the sound panel
Add mnemonic to the 'Test Speaker' button, and add labelled-by
relations to the 'Test' buttons in the speaker test dialog.
2011-05-15 22:40:26 -04:00
Bastien Nocera
ce561eb68f sound: Prevent > 100% volume showing up as 100%
When the output of input bar changes from a non-decibel capable
output, to one that is (such as on startup), don't clip the
volume displayed at 100%, by setting the level of the bar again.

https://bugzilla.gnome.org/show_bug.cgi?id=646254
2011-04-08 16:12:56 +01:00