Alistair Leslie-Hughes
e4517da353
pactl: Stop a crash when setting the volume which is out of range
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/758 >
2022-12-06 18:37:33 +11:00
acheronfail
45df212d66
pactl: SUBSCRIBE add a newline after every json message
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/748 >
2022-09-27 08:58:50 +00:00
Igor V. Kovalenko
07a9fcefba
build-sys: meson: Move qpaeq to daemon build
...
Equalizer control requires server modules only available when daemon is built.
Move qpaeq script to be installed together with daemon.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/734 >
2022-07-18 14:03:45 +00:00
Sean Greenslade
05c06afa58
pactl: fix parsing of percentages with decimal points
...
The logic for detecting which type of volume was given incorrectly interpreted
any value with a decimal as a VOL_LINEAR. It also could set multiple flags,
which would put the flags variable into an indeterminate state. Additionally,
the flags stack variable was uninitialized which could also lead to an
indeterminate flag state.
Percentages are now prioritized over all other types, and only one type flag
can be set.
2022-06-04 00:24:49 -07:00
Olivier Gayot
c3c84a3691
pactl: fix invalid JSON output by overriding LC_NUMERIC
...
When the --format json parameter is given on the command line, we
attempt to produce a JSON output for most commands.
Our implementation of the JSON serialization uses vsnprintf to output
numbers. Unfortunately, vsnprintf is affected by the locale and more
specifically the LC_NUMERIC variable.
When LC_NUMERIC is set to, for instance, fr_FR.UTF-8, floating-point
numbers are output with a comma as the decimal separator, which is then
considered invalid JSON.
$ LC_NUMERIC=fr_FR.UTF-8 pactl --format json list sinks | jq .
parse error: Objects must consist of key:value pairs at line 1, column 435
This is the token which failed to parse:
}},"balance":0,00,"base_volume":{
Fixed by overriding the LC_NUMERIC value when we request JSON output.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/702 >
2022-05-16 18:15:47 +00:00
Igor V. Kovalenko
4f2c8ec002
pa-info: Handle configuration files from .d directories
...
Pulseaudio reads client.conf.d/*.conf and daemon.conf.d/*.pa, print these too.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/701 >
2022-05-16 18:11:47 +00:00
guest271314
4b996e2a7b
pacat: Include the special default device names in documentation
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/684 >
2022-01-26 17:13:53 +00:00
liaohanqin
b8c15e8787
pactl: optimized code
...
some if statements are redundant, use switch instead of it.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/686 >
2022-01-25 16:09:32 +08:00
Igor V. Kovalenko
5fcc70e2e8
build-sys: meson: Fix indentation in daemon/client blocks
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659 >
2021-11-17 16:06:23 +00:00
Igor V. Kovalenko
6928714b64
build-sys: meson: change daemon-only to client
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659 >
2021-11-17 16:06:23 +00:00
Mart Raudsepp
4cf4a1fd5b
build-sys: meson: Allow building the daemon only
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659 >
2021-11-17 16:06:23 +00:00
acheronfail
19adddee31
pactl: add format flag for JSON output
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/497 >
2021-08-11 15:31:05 +00:00
Igor V. Kovalenko
2a5497bac5
json: remove json from public API
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/570 >
2021-06-03 21:15:48 +00:00
Jason Nader
9a4280988b
Apply 3 suggestion(s) to 1 file(s)
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
05d8185552
Apply 1 suggestion(s) to 1 file(s)
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
ee6af0be23
Apply 1 suggestion(s) to 1 file(s)
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Klaas van Schelven
29860175c7
pactl: add get-(source|sink)-mute commands
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
bc8d615c1b
pactl: add get_source_volume command
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
258bc97fb1
pactl: add get_default_source command
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
75390822b4
pactl: add get-sink-volume command
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Jason Nader
0e4a92ca69
pactl: add get_default_sink command
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/430 >
2021-05-17 15:35:07 +00:00
Igor V. Kovalenko
424580a901
build-sys: meson: allow building client libraries only
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540 >
2021-04-19 18:48:59 +00:00
Martin Wilck
1a73fb9eb9
parecord: really fix recording OGG
...
432a91ed ("fix "Failed to open audio file" for FLAC and OGG)" claimed
to fix recording of OGG files with pacat, but it really fixed only
FLAC. This patch must be added on top to fix OGG, too.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/542 >
2021-04-19 18:24:34 +02:00
Martin Wilck
432a91ed43
parecord: fix "Failed to open audio file" for FLAC and OGG
...
This patch fixes the following error:
$ pacat --file-format=ogg -r test.ogg
Failed to open audio file.
$ parecord sep.flac
Failed to open audio file.
libsndfile errors out if a WAV or OGG file is set to have anything but
SF_ENDIAN_FILE:
f4d1646e5c
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/526 >
2021-04-19 13:35:48 +00:00
Igor V. Kovalenko
a2db3fcfb2
message-params: clean up
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/525 >
2021-03-27 11:18:22 +00:00
Igor V. Kovalenko
1dd05f4a9b
message-params: use JSON instead of custom format
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/525 >
2021-03-27 11:18:22 +00:00
Igor V. Kovalenko
f4bce0bb98
build-sys: drop autotools build system
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516 >
2021-03-15 18:25:06 +00:00
Greg V
e94c81aef6
padsp: fix build on FreeBSD (use same ioctl signature as glibc)
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277 >
2021-01-18 16:33:53 +00:00
Edward Lee
b892e327a9
win32: Fix meson build system for Windows.
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/360 >
2020-12-16 11:05:28 -05:00
Igor V. Kovalenko
d285b00a16
build-sys: meson: change oss-output boolean to Meson feature
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/437 >
2020-12-14 19:48:06 +00:00
Georg Chini
4a28b164d1
pactl: Implement list message-handlers
...
For better readability, "pactl list message-handlers" is introduced which
prints a formatted output of "pactl send-message /core list-handlers".
The patch also adds the functions pa_message_params_read_raw() and
pa_message_params_read_string() for easy parsing of the message response
string. Because the functions need to modify the parameter string,
the message handler and the pa_context_string_callback function now
receive a char* instead of a const char* as parameter argument.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51 >
2020-12-03 14:41:39 +00:00
Georg Chini
68f2f1395d
pactl, pacmd, cli-command: Add send-message command
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51 >
2020-12-03 14:41:39 +00:00
Igor V. Kovalenko
ecd597995a
build-sys: meson: add oss-output option for OSS output support
...
Restore an option to disable OSS output available with autotools.
2020-11-28 00:34:49 +03:00
Igor V. Kovalenko
0fc54f9e7a
pa-info: look for alsa-info.sh in /usr/sbin as well
...
At least Gentoo and OpenSUSE install alsa-info.sh in /usr/sbin, look there too.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/422 >
2020-11-26 17:28:46 +03:00
Igor V. Kovalenko
2d018a82ad
pactl: explicitly print if port availability is unknown
...
Port availability is a tristate -- not-available / unknown / available.
Explicitly print if availability is unknown to reduce confusion.
2020-11-21 16:34:09 +03:00
Tanu Kaskinen
af42b3eb6f
Rename "available group" to "availability group"
...
"Availability group" is more clear about what the field is about.
Credits to Arun Raghavan for coming up with the better name.
2020-08-10 20:54:21 +03:00
Jaroslav Kysela
b2d3399793
pactl: print device port type and available group
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-17 06:06:12 +00:00
Tanu Kaskinen
36a4923f9b
Point to SupportedAudioFormats wiki page where appropriate
...
I documented the supported PCM sample formats and compressed audio
encodings in the wiki, let's add some pointers to the new documentation.
2020-04-23 15:24:24 +00:00
Felipe Sateler
64b259c2c9
qpaeq: use python3 instead of python 2
...
The script was already compatible, so lets just switch interpreter
2019-10-25 08:39:03 -03:00
Felipe Sateler
f3609ee3d0
qpaeq: Drop unused imports
...
Neither sip nor PyQt5 are used. From PyQt5 we only use the named imports just below
2019-10-25 08:34:59 -03:00
Rasmus Thomsen
bff163089c
meson: link libintl if it's not provided by libc
...
This fixes the build on musl with external gettext
2019-09-25 04:42:03 +00:00
Jan Alexander Steffens (heftig)
493e7f3582
build-sys: meson: Add some missing checks
...
- Header and function checks from configure.ac
(some libc, some libpthread, dladdr from libdl)
- Find iconv and check constness
2019-08-09 23:11:24 +02:00
Russell Treleaven
91fb54dab1
add script to collect information for bug reports
2019-08-09 12:31:48 +00:00
Arun Raghavan
7f44a623e0
build-sys: meson: Correctly set up RPATH
...
This was being done automatically by autotools, now we need to manually
specify this for each executable/library with a dependency in a
non-standard directory.
2019-08-05 09:52:32 +05:30
Arun Raghavan
f996ad0688
build-sys: meson: Add -Wl,no-delete to relevant libraries
...
This mirrors the autotools option for all server-side dynamic libraries.
2019-08-05 09:52:32 +05:30
Jan Alexander Steffens (heftig)
09231eaead
meson: Fix build of padsp
...
- Rename "pulsedspdir" to the same "padsplibdir" that Autotools uses.
- Add a new option "pulsedsp-location" that is only used for padsp.in,
just like Autotools' --with-pulsedsp-location.
- Use 'set' instead of 'set_quoted' to avoid PULSEDSP_LOCATION getting
quoted twice.
2019-07-25 16:53:01 +00:00
S Page
6e392ae84f
pasuspender: explain program argument in help
...
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/706
2019-07-16 06:23:50 +00:00
Arnaud Rebillout
f5c9ef59f3
meson: Install utils symlinks, install qpaeq
...
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2019-06-08 11:57:00 +02:00
scootergrisen
a4264de3a8
channel/s to channel(s)
2019-02-16 11:11:58 +00:00
Arun Raghavan
9e0aa31f0a
pactl: Fix some corner cases when setting sink formats
...
Mostly deals with failure more gracefully, and NULL-initialises the
format array for safety.
2019-01-16 09:39:24 +05:30