Commit Graph

490 Commits

Author SHA1 Message Date
poljar (Damir Jelić) 8af6520c60 sink/sourcewidget: Move the index and card_index to the devicewidget
This is a minor cleanup that moves the index of the sink/source and the
card_index from the sink/source widget to the device widget.
2012-07-27 08:56:02 +03:00
poljar (Damir Jelić) 1a23cdfe6d cardwidget: Add a port class
The cardwidget should cache all the relevant data for the ports.

This change introduces a new port class which holds the port info for
the card.
2012-07-27 08:54:10 +03:00
Tanu Kaskinen abeb68dcf2 bootstrap: Enable the pre-commit hook. 2012-07-21 10:03:08 +03:00
Tanu Kaskinen 241b23cc83 gitignore: Add *.swp. 2012-07-04 12:57:53 +03:00
Frédéric Dalleau ba868cc0b0 Add --retry command line option
As a developper, I find it annoying to restart pavucontrol everytime I restart
pulseaudio, moreover the error dialog sometimes needs an additional click
before restarting.
Add it as a command line option so that default behavior is not changed.
2012-07-04 12:35:52 +03:00
Cosimo Cecchi fb278932a4 Fix theme under gtk3
We need to set the visible_window property to ensure
the theme background colour shines through.

https://bugzilla.gnome.org/show_bug.cgi?id=655635
2011-10-25 11:31:37 +02:00
Colin Guthrie 035be40028 build-sys: Prepare 1.0 2011-09-27 09:19:00 +01:00
Colin Guthrie 08e3dd92ed build-sys: Switch to the tar-ustar format (as per a lot of GNOME stuff for 3.2) and distribute .xz files.
We will drop .gz support after 1.0
Also bumped automake version to 1.11 to match PA itself
and for the dist-xz option
2011-09-27 09:19:00 +01:00
Colin Guthrie 235157ec1e i18n: Add devicewidget to POTFILES.in 2011-09-27 09:19:00 +01:00
Arun Raghavan 8e359a8f71 source: Only autosuspend network sources
This makes sure we inhibit autosuspend only for network sources (which
was the main purpose of adding autosuspend, since constantly monitoring
those is network heavy).
2011-09-23 08:21:07 +05:30
Colin Guthrie 681c996438 build-sys: Prepare 0.99.2 2011-09-15 12:12:52 +01:00
Colin Guthrie f58f0da9eb Update device format stuff for (pre-release) API changes. 2011-08-18 17:46:28 +01:00
Arun Raghavan c9b307de5a Check if PA_SINK_SET_FORMATS is defined before using it 2011-08-18 14:57:09 +05:30
Arun Raghavan 5c19f6b5d2 Use sink flags to figure out if we can set formats
The server now signals when a sink supports setting formats, so we don't
have to rely on the profile name.
2011-08-16 11:13:34 +05:30
Colin Guthrie 479e7bcd6e Add UI to select the formats supported by the receiver attached to a digitial sink 2011-08-10 14:22:55 +02:00
Colin Guthrie 546e679047 build-sys: Prepare 0.99.1 2011-08-02 22:46:04 +01:00
Colin Guthrie e317d38146 Fix strange vertical alignment of sinks/source/cards
This only seemed to affect GTK3 and it seems to introduce
a GTK warning relating to 'gtk_widget_size_allocate' similar
to those fixed in the previous commit, but nothing seems to
be the worse for it.
2011-07-27 23:35:20 +01:00
Colin Guthrie 2aaf33200a Fix GTK Warnings under GTK3 due to combo box sizes 2011-07-27 23:34:48 +01:00
Colin Guthrie 0087ef0d60 source-output: We will officially support source output volumes in 0.99 2011-07-22 10:18:40 +01:00
Colin Guthrie ca9c74b042 source-output: Don't set the channel map for the SO if we do not support SO volumes.
The setting of the channel map triggers the display of the actual volume sliders
so it is essential that we do not set it when we don't want to.
2011-07-22 10:01:48 +01:00
Colin Guthrie a03fa60f41 sink: Oops. I didn't mean to comment this out in the previous commit. 2011-07-22 09:50:22 +01:00
Colin Guthrie 9784b9d76d stream-volumes: Support source-output volume controls now available in PA. 2011-07-22 09:35:38 +01:00
Colin Guthrie 50efee1180 i18n: Fix markup error in de translation.
Spotted by spm_Draget via IRC
2011-06-15 22:44:50 +01:00
Colin Guthrie 53c38faa8a Handle simple key events.
* Use ctrl+w or ctrl+q or esc to quit.
 * Uset ctrl+1-5 to change tabs.
2011-06-06 12:18:14 +02:00
Colin Guthrie 933b8a7009 Deal more gracefully with disconnections.
As pavucontrol is often used for debugging PA, it should
be quite robust and not popup messages etc. under 'normal'
testing conditions. This adds quite a verbose message under
some specific conditions that do crop up from time to time.
2011-06-06 12:18:06 +02:00
Marc-Antoine Perennou 964de9fc7f Add support for gtkmm-3.0 and prefer it over gtkmm-2.* by default.
Pass --disable-gtk3 to configure to build against gtk2
2011-04-29 17:10:58 +01:00
Colin Guthrie 26d42651c5 Ensure the marker for base volume is set on all channels.
Refs #804
2011-03-28 18:52:27 +01:00
Colin Guthrie c70b048c98 volume: Don't bother setting the steps.
The number of volume steps doesn't really affect our scale, so there
is little value in setting it.
2011-03-09 21:54:05 +00:00
Colin Guthrie 297af52ae5 volume: Support volumes up to 11.
This allows us to set volumes up to ~153% aka +11dB.

Also show the current dB value in the UI - as pavucontrol is a bit more
developer-friendly than other volume UIs displaying this by default makes
sense.
2011-03-09 21:50:29 +00:00
Colin Guthrie 9516b6f1dc ui: Remove ellipsize attribute from some labels (causes ellipsis to be displayed rather than real text) 2011-03-03 14:53:28 +00:00
Colin Guthrie 099e91616d ui: Resave glade file without any changes to tidy it up 2011-03-03 14:36:08 +00:00
Rafał Mużyło 9ce0e0a380 Drop the need to use libglademm 2011-03-03 14:31:14 +00:00
Maarten Bosmans 5997290d1e Add DONT_INHIBIT_AUTO_SUSPEND flag to monitor streams 2011-03-03 13:52:21 +00:00
Colin Guthrie 73e57023ec source-outputs: Source outputs do not support volume control, so hide the mute and lock channels buttons 2010-12-22 14:58:30 +00:00
Colin Guthrie f70ff92ecd main: Format string fixes 2010-04-22 02:04:19 +01:00
Colin Guthrie 97c9cc6197 main: Add a --tab command line argument to force a given tab to be displayed.
Refs: http://pulseaudio.org/ticket/768
2010-04-22 01:03:54 +01:00
Colin Guthrie 870c3ddb2e mainwindow: Fix clearing out of clients 2010-04-22 00:08:39 +01:00
Colin Guthrie 94add670c4 mainwindow: Save/restore window size 2010-04-22 00:04:56 +01:00
Colin Guthrie 95e48d5c9e mainwindow: Compact iterator decls 2010-04-21 00:44:01 +01:00
Colin Guthrie 9fe20201f2 main: Cleanup labels after connection rework 2010-04-20 22:03:45 +01:00
Colin Guthrie 18c8945708 source-outputs: Fix a bug where the 'no streams' label is sometimes shown along with the actual widget. 2010-04-20 20:45:26 +01:00
Colin Guthrie 7de18201a3 connection: Show a nice label when connecting to PA. 2010-04-20 20:24:15 +01:00
Colin Guthrie 84dc67b395 main: Automatically reconnect to PA upon disconnection 2010-04-20 20:01:39 +01:00
Colin Guthrie 6c0bcb4c08 mainwindow: Add a method to remove all widgets (e.g. on disconnect) 2010-04-20 20:00:37 +01:00
Colin Guthrie b11f0b7297 streamwidget: Fix a compile warning. 2010-04-20 19:46:30 +01:00
Colin Guthrie cbcdd0f49c Split out the creation of the PA context a little.
This is a precursor to adding reconnection support.
2010-04-20 19:11:14 +01:00
Lennart Poettering 8959744e60 glade: ellipsize user supplied text strings 2010-01-05 20:57:25 +01:00
Colin Guthrie 78f5194541 Allow for the sink input peak detect to survive across sink moves. 2009-10-17 15:59:29 +01:00
Colin Guthrie 68e3401350 Update for the latest incarnation of module-device-manager 2009-10-15 13:03:16 +01:00
Colin Guthrie c813bb9e3f Use the correct update mode for device-restore database write 2009-10-15 13:03:16 +01:00