summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-09-27Correctly handle profile list indices in dropdownHEADmasterArun Raghavan1-3/+9
With the option to hide some profiles, we need to track the list store index separately from the profile list iterator, so that the active selection in the dropdown is correct. We also need to allow an invalid selection, as an unavailable profile might be selected.
2024-09-27Simplified logic for hiding unavailable/unplugged card profilesrohit haldipur1-4/+8
2024-09-27Add a checkbox to hide unavailable profilesrohit haldipur5-1/+35
2024-09-25Update icons in build system and UI fileArun Raghavan2-1/+14
2024-09-23data: add app iconJakub Steiner5-1/+1264
Fixes https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/153
2024-08-02Updates for 6.1 releasev6.1Arun Raghavan1-0/+11
Build system and documentation updates.
2024-07-29cardwidget: Fix bluetooth codec combobox alignmentArun Raghavan1-11/+17
Center looks strange, so we use fill and a little more margin to make things look a little better. Credit to psykose <alice@ayaya.dev> for first identifying the problem and proposing a fix.
2024-07-03mainwindow: Correctly remove cards when they go awayArun Raghavan1-1/+1
The reference is owned by the VBox, so we remove it there and it gets cleaned up, like other widgets. Fixes: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/162 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/98>
2024-06-26desktop: Match the name in the appstream fileNiels De Graef1-2/+2
With the addition of the appstream file, the app is showing up in Flathub and software apps (like GNOME Software) as "Volume Control", but on the desktop (using the Desktop file), it's showing up differently as "PulseAudio Volume Control", which is confusing. Like commit be02260941 mentions, there are some guidelines for naming apps which prefer the shorter "Volume Control" more than "PulseAudio Volume Control". It also helps for example GNOME users who get an ellipsized name in GNOME Software and the GNOME desktop. To make sure people still get a hit on "PulseAudio" when searching for the app, let's add that specifically to the tags. That should prevent search from breaking in a lot of cases. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/97>
2024-05-24Fix translatable key in ui filesArun Raghavan6-45/+45
The value needs to be "yes" rather than "1" for the pot/po files to be updated correctly. Shoutout to Thomas Lange for reporting the issue and deducing the fix. Fixes: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/156
2024-05-21Add some release notes for 6.0v6.0Arun Raghavan1-0/+15
2024-05-19Deal with new icon theme reality on GTK4Arun Raghavan1-12/+17
There are a few things to keep in mind: * We'll have a lot of non-functional application icons, because app icons don't always exist in the icon theme, so use the generic application icon * There is no audio-card icon in the theme any more, so add fallback to the symbolic version
2024-05-17metainfo: Fix launchable tagArun Raghavan1-1/+1
The .desktop file name has changed.
2024-04-26Split pavucontrol.glade into separate .ui filesJA17-1075/+1058
and some cleanup
2024-04-26Embed ui file as resource and clean it upJA14-99/+99
Remove a lot of unrequired ids, and fix meson dependency name
2024-04-24Make libcanberra optionalAdrian Ratiu3-3/+14
libcanberra is an old abandoned project whose last release was well over a decade ago, despite getting some few fixes on its master branch since then, which are unreleased. My problem with libcanberra is that it can't be built on pure wayland systems (no X11 headers) which are becoming more common nowadays. It is the only thing keeping pavucontrol tied to X11, all other dependencies (eg gtk+) build fine on pure wayland. Since canberra is not a core part of the project, let's make it optional so pavucontrol can build & work on pure wayland systems. Ideally in the future libcanberra can be replaced with something else, however I don't have the bandwidth to take this on for now, so I'm just making it optional. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
2024-04-15Some minor whitespace fixupsArun Raghavan3-5/+4
We should really just get a clang-format config that's close enough and set that up instead.
2024-04-15pavuapplication: Drop references to unused on_hide_windowArun Raghavan2-3/+2
2024-04-15mainwindow: Clean up canberra context on shutdownArun Raghavan1-0/+2
2024-04-15devicewidget: Minor function rename for legibilityArun Raghavan2-5/+3
2024-04-15Fix some minor lints and warningsArun Raghavan5-14/+3
2024-04-12Use Gtk4 instead of Gtk3JA27-1627/+1008
2024-04-12build-sys: Drop autotools buildArun Raghavan1-59/+0
We've had the meson build for a bit, and it's faster and cleaner to maintain.
2024-03-18metainfo: Add release notes for 5.0Will Thompson1-1/+10
These are taken from README.html.in, without the information about new dependencies (IMHO not useful to end-users) or “Some bug fixes.” (IMHO not specific enough to be useful).
2024-03-18Add AppStream metainfo fileWill Thompson3-0/+80
This file is taken from the Flathub package, as of https://github.com/flathub/org.pulseaudio.pavucontrol/pull/31 where I have adjusted the name & summary to conform to Flathub's rules. In particular: - The name must be no more than 20 characters, so I have used “Volume Control” to match the window title and GenericName - The summary must be no more than 35 characters. I noticed while preparing this patch that the Comment in the .desktop file (which the appstream specification says is “roughly equivalent” to the <summary>) is just “Adjust the volume level”. IMO “Adjust the volume level” contains no more information than the name “Volume Control”. Fixes https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/127
2023-06-23Less choppy peak barswarmos3-2/+4
Update the sample rate to 144 to keep up with high refresh rate monitors.
2023-06-22mainwindow: change "[Set as] fallback" to "default"Konstantin Kharlamov2-6/+6
The "Set as fallback" title is a frequent source of confusion, many people look at it and do not realize that its actual functional is "setting as default". Presumably, when this title first appeared it was presumed that apps should chose a device themselves, and then if they don't there's a "fallback". But in reality most apps do not chose any device explicitly, and it's expected behavior to make use of this "fallback" device. So it is more correct to call a "default" device.
2022-05-02fix focus trap in output selection widgetAlexander Epaneshnikov1-1/+1
this fixes #124 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/73>
2022-04-13meson: Define HAVE_PULSE_MESSAGING_API when availableJan Alexander Steffens (heftig)1-2/+10
To match the autotools build.
2022-01-15Fix warning in .desktop fileArun Raghavan1-1/+1
With the underscore, we got: ../src/pavucontrol.desktop.in:12:0: warning: invalid non-blank line
2022-01-15build-sys: Add a meson-based build systeomArun Raghavan1-0/+34
The only missing feature for parity with autotools is generating a text README using lynx. I think this might be okay to skip as it seems unnecessary as a dependency.
2022-01-14i18n: Migrate to upstream gettext over intltoolArun Raghavan2-5/+6
Newer gettext has feature parity, rendering intltool obsolete. Details at: https://wiki.gnome.org/MigratingFromIntltoolToGettext
2022-01-10sink-widget: add support for TrueHD and DTS-HD formatsWim Taymans3-1/+49
Also add toggles for TrueHD and DTS-HD formats in the sink widget. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/71>
2021-08-15Disconnect and unreference all peak indicator stream objectsIgor V. Kovalenko3-0/+10
Most of sink input peak indicator streams are still connected alive at the time their widgets are destroyed. Disconnect and unreference each one to stop memory leak. When sink input peak indicator stream is recreated, previous stream is only disconnected but not unreferenced. Unreference it to stop memory leak. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/62>
2021-06-01cardwidget: add flag to lock profile from switching automaticallyIgor V. Kovalenko7-0/+146
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/60>
2021-03-29card: use JSON with pulseaudio messaging APIIgor V. Kovalenko3-33/+115
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/59>
2021-02-27card: do not quit on error sending message to objectIgor V. Kovalenko2-2/+2
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-26card: implement bluetooth profile codec selectionIgor V. Kovalenko8-15/+336
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/54>
2021-01-04mainwindow: do not erase from container while iteratingIgor V. Kovalenko1-12/+12
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/53>
2020-12-03devicewidget: Mark Cancel and OK button texts translatableTanu Kaskinen1-2/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/50>
2020-11-09mainwindow: Close window instead of quitting on Ctrl-W etc.mephinet1-1/+1
The end result is the same, so this isn't strictly needed - originally this patch fixed a segfault, but that segfault got fixed in a different way before merging this patch.
2020-10-11Migrate away from deprecated Gtk interfacesFelipe Sateler9-34/+45
This was accomplished by building with -DGTKMM_DISABLE_DEPRECATED.
2020-08-04Set channel label width to 12Jamison Lofthouse1-1/+1
Add a bit more padding for when percentages and decibel levels are weird so that sliders and labels are a consistent width.
2020-07-07Have pulseaudio appear in the Settings category of menuYousuf Philips1-1/+1
2020-06-10Additional keywords from the dialog and elsewhereYousuf Philips1-1/+1
2020-06-09Make pulse audio appear in Xfce's settings dialogYousuf Philips1-1/+1
2020-06-02add gtk window class to mainwindow.Leon Kowarschick1-0/+1
This allows pavucontrol to be specifically addressed when creating GTK themes.
2020-05-17i18n: Correct spelling "AC-3" and "E-AC-3"Allan Nordhøy1-2/+2
2020-02-14pavuapplication: fix compilation issue with g++ (Raspbian 4.9.2-10+deb8u2)lionel1-1/+1
Fixes this compilation issue: pavuapplication.cc: In function ‘int main(int, char**)’: pavuapplication.cc:146:32: error: use of deleted function ‘PavuApplication::PavuApplication(PavuApplication&&)’ auto app = PavuApplication(); ^ In file included from pavuapplication.cc:29:0: pavuapplication.h:27:7: note: ‘PavuApplication::PavuApplication(PavuApplication&&)’ is implicitly deleted because the default definition would be ill-formed: class PavuApplication : public Gtk::Application { ^ In file included from /usr/include/gtkmm-3.0/gtkmm/window.h:32:0, from /usr/include/gtkmm-3.0/gtkmm/dialog.h:30, from /usr/include/gtkmm-3.0/gtkmm/aboutdialog.h:33, from /usr/include/gtkmm-3.0/gtkmm.h:99, from pavucontrol.h:29, from pavuapplication.h:24, from pavuapplication.cc:29: /usr/include/gtkmm-3.0/gtkmm/application.h:211:3: error: ‘Gtk::Application::Application(const Gtk::Application&)’ is private Application(const Application&); ^ In file included from pavuapplication.cc:29:0: pavuapplication.h:27:7: error: within this context class PavuApplication : public Gtk::Application { ^ In file included from /usr/include/glibmm-2.4/glibmm/wrap.h:26:0, from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26, from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23, from /usr/include/glibmm-2.4/glibmm.h:91, from /usr/include/gtkmm-3.0/gtkmm.h:87, from pavucontrol.h:29, from pavuapplication.h:24, from pavuapplication.cc:29: /usr/include/glibmm-2.4/glibmm/objectbase.h:238:3: error: ‘Glib::ObjectBase::ObjectBase(const Glib::ObjectBase&)’ is private ObjectBase(const ObjectBase&); ^ In file included from pavuapplication.cc:29:0: pavuapplication.h:27:7: error: within this context class PavuApplication : public Gtk::Application { ^
2019-12-22mainwindow: escape nameLabelChristoph Haag1-1/+3
Fixes a warning with the 'Valve VR Radio & HMD Mic' device.