Commit Graph

93 Commits

Author SHA1 Message Date
Igor V. Kovalenko a1b4622ad5 cardwidget: add flag to lock profile from switching automatically
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/60>
2021-06-01 02:28:40 +03:00
Igor V. Kovalenko b874058ae8 card: use JSON with pulseaudio messaging API
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/59>
2021-03-29 21:52:44 +03:00
Igor V. Kovalenko 1515492168 card: do not quit on error sending message to object
Server API versions < 35 do not support PA_COMMAND_SEND_OBJECT_MESSAGE
one of these is current Pipewire pulseaudio server.

Do not quit on error sending message to object, this is already handled as if
send message API is not available.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/57>
2021-02-27 15:13:13 +03:00
Igor V. Kovalenko d66137f9a8 card: implement bluetooth profile codec selection
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/54>
2021-02-26 14:03:20 +03:00
Felipe Sateler 2840825519 Migrate away from deprecated Gtk interfaces
This was accomplished by building with -DGTKMM_DISABLE_DEPRECATED.
2020-10-11 17:18:59 +03:00
Anders Jonsson 90c91702ed main: Fix typo
arrise -> arise

https://bugs.freedesktop.org/show_bug.cgi?id=104227
2017-12-14 08:35:13 +05:30
Tanu Kaskinen 36d82f23aa remove unnecessary Window -> MainWindow casting
mainwindow.h and pavucontrol.h include each other, which makes it
necessary to declare some types before the include directives.
2017-11-02 10:51:34 +02:00
Colin Leroy f6ce4fb8db Implement single-launch with Gtk::Application
This introduces a new file for clarity. Options
handling changes so that --tab changes the tab
if the window is already opened. Other options
are only used at start time.
2017-11-01 13:39:39 +02:00
Peter Meerwald 290485e8ab Add --version command line option
allow pavucontrol to display its --version
see https://bugs.freedesktop.org/show_bug.cgi?id=83147

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2015-05-20 23:07:55 +02:00
Pierre Zurek dc4bdf091f Add a --maximize command line option 2014-03-07 16:04:32 +02: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
Colin Guthrie f58f0da9eb Update device format stuff for (pre-release) API changes. 2011-08-18 17:46:28 +01:00
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 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
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 9fe20201f2 main: Cleanup labels after connection rework 2010-04-20 22:03:45 +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 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
Colin Guthrie 375c2c2d62 Add support for the device-manager module.
Currently this module only really allows for devices to be renamed, so we add a new
dialog that can be activated by right clicking on devices (i.e. sinks/sources).
This dialog allows you to enter a new name which will be set via the extension
provided by the device-manager module.

Future work will allow you to manage (i.e. rename, delete etc) offline devices too.
2009-10-15 13:03:16 +01:00
Lennart Poettering 8a11d0f781 fix event sound generation for volume changes 2009-08-27 05:41:11 +02:00
Colin Guthrie e71562619a Create the event role widget early so that it's always top of the list. 2009-06-17 08:54:14 +01:00
Lennart Poettering d30c045dac don't show failure msgbox twice 2009-04-14 00:14:48 +02:00
Lennart Poettering 98aab64c36 Merge commit 'coling/master' 2009-04-13 23:21:00 +02:00
Lennart Poettering 8a490558da don't show wait cursor forever if stream_restore extension is not available 2009-04-08 04:09:38 +02:00
Colin Guthrie 514a8c1227 Silence a warning 2009-03-25 21:06:33 +00:00
Colin Guthrie 6499304945 Shuffle some headers around a bit so that some systems don't have build errors 2009-03-18 21:06:28 +00:00
Colin Guthrie c4208bfd8e Use C style comments as per Lennart's fetish :p 2009-03-18 21:01:03 +00:00
Colin Guthrie c6b73de308 Move config.h inclusion to the .cc files 2009-03-18 20:58:17 +00:00
Colin Guthrie 53288073c1 Split mainwindow into it's own files. 2009-03-16 13:21:14 +00:00
Colin Guthrie cf3da7b364 Split rolewidget into it's own files. 2009-03-16 13:13:34 +00:00
Colin Guthrie 0d746559c3 Split sourceoutputwidget out into it's own files. 2009-03-16 13:05:58 +00:00
Colin Guthrie dc5498f86a Split sinkinputwidget into it's own files.
Also had to put mainwindow into it's own header for this to work. Full conversion of mainwindow will ultimately follow.
2009-03-16 12:59:01 +00:00
Colin Guthrie ed4f413ec5 Split sourcewidget into it's own files. 2009-03-16 12:45:53 +00:00
Colin Guthrie 38e7792eec Split sinkwidget into it's own files. 2009-03-16 12:41:02 +00:00
Colin Guthrie d3a66f65b5 Split cardwidget out into it's own files.
Also define a get_context() method to get the context from outside of the main file.
2009-03-15 13:32:28 +00:00
Colin Guthrie a8357b3dc2 Move common setup into a shared header 2009-03-15 13:08:22 +00:00
Colin Guthrie e1e452ac22 Split out streamwidget into it's own files.
Also correct the location of the argument default value specification (it should be in prototype not implementation)
2009-03-15 13:02:56 +00:00
Colin Guthrie f6af4f80b8 Split channelwidget into separate files. Also separate out the definition of streamwidget into it's own header 2009-03-15 12:54:56 +00:00
Colin Guthrie 1c73564f66 Split the minimalstreamwidget into it's own file 2009-03-15 12:42:45 +00:00
Lennart Poettering 36aa55760c Merge commit 'coling/master' 2009-03-02 22:45:59 +01:00
Lennart Poettering 6154459500 use the server provided icons 2009-03-02 22:29:48 +01:00
Colin Guthrie 1758320b6a Initialise our dropdown at contruction and just repopulate it when the cardinfo callback is received 2009-03-02 20:36:44 +00:00
Colin Guthrie d816be58d6 Fix the number of outstanding operations.
This uses an incrementing rather than fixed value as it more obviously reflects what's going on.
2009-02-28 20:37:44 +00:00
Colin Guthrie 6a76183326 Add a new widget for the card configuration and use it.
This change allows the card profiles to be shown in a combo box. This is more natural and obvious
than hiding things in the submenu.
2009-02-28 19:51:08 +00:00
Colin Guthrie 1f1c8c8576 Create a new 'Configuration' tab
Move the card listing into this tab.
2009-02-28 18:01:07 +00:00
Colin Guthrie 3372cd120c Silence some warnings 2009-02-28 17:35:36 +00:00
Colin Guthrie e0c299d979 Initial support for changing card profiles.
This hijacks the Output Devices tab to display things for now. I'm currently undecided as to whether a new tab
or more intellegent handling display of the Card Widget is best.
2009-02-28 17:11:41 +00:00
Lennart Poettering 01e4826b65 deal with non-initialized data from m-s-r 2009-02-04 18:40:12 +01:00