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
Arnaud Rebillout
ce16b373b2
meson: Build pax11publish only if X11 is found
...
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-12-27 17:25:55 +05:30
Arnaud Rebillout
ea92c28218
meson: Create bindir and libdir variables
...
This is to avoid using the construct 'join_paths(prefix, get_option(...))'
everywhere in the meson files. It's better to settle the paths question
once and for all at the beginning.
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-12-27 17:25:07 +05:30
Arnaud Rebillout
13202eb9ed
meson: Add pulsedspdir option
...
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-12-27 17:25:07 +05:30
Marek Cernocky
65c9195e8f
i18n: Fixed plural forms handling
2018-10-09 11:56:31 +03:00
Arnaud Rebillout
7f05b835df
meson: Build and install man pages
...
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
Arnaud Rebillout
5b0a1df228
meson: Enable oss module and padsp util
...
Regarding the module:
This is unlike the autotools where liboss-util is built as a library,
here we build everything in the oss module, as apparently there's no
other consumer for liboss-util.
Regarding padsp:
Setting the install mode for padsp requires meson 0.47, so instead we
set padsp.in as executable in the git repository (which is what glib
does for gdbus-codegen btw).
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
Joseph Herlant
08d0dc6930
Fix typo: occured -> occurred
2018-09-17 09:52:36 -07:00