Igor V. Kovalenko
8bf8a98052
module-device-destore: Log restored port name
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/698 >
2022-05-16 18:08:16 +00:00
Igor V. Kovalenko
bb5823a3c9
module-suspend-on-idle: Allow suspending a sink when the monitor source becomes idle
...
When monitor source becomes idle it may happen that monitored sink has no
uncorked inputs anymore and can now be suspended. To allow this, detect if state
is changed for monitor source and check state of monitored sink instead.
This change allows pulseaudio to suspend devices when pavucontrol volume meters
are disabled and corresponding peaks resampled streams are corked.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/697 >
2022-05-16 18:05:03 +00:00
Igor V. Kovalenko
a4e690bda5
bluetooth: Make sure there is at least one SBC frame to encode
...
If SBC frame plus RTP header exceeds MTU size, let block size be at least one
frame to make sure bluetooth code can make progress reading and writing data.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/695 >
2022-05-16 18:01:39 +00:00
Igor V. Kovalenko
a4402bb4f4
bluetooth: Limit effective SBC bitpool of incoming bluetooth connection
...
Turned out that SelectConfiguration is only used for outgoing connections, and
incoming connection from bluetooth headset using SBC codec ends up with a
bitpool as large as declared by headset. When resulting bitpool is so large that
SBC frame size plus RTP header size exceeds write MTU size, number of frames per
packet becomes zero causing crash dividing by zero in update_sink_buffer_size()
Fix this by limiting available bitpool value exposed for SBC endpoints.
Fixes: 89082cbfa ("bluetooth: a2dp dual channel SBC XQ codec configurations")
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/695 >
2022-05-16 18:01:39 +00:00
Igor V. Kovalenko
1729e38a3e
thread-test: Increase test timeout
...
This is not a performance test, but progress test of pa_cond_signal,
pa_cond_broadcast and pa_cond_wait in presence of multiple threads.
Increase test timeout to make it pass on slower hardware.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/696 >
2022-05-09 09:34:46 +03:00
Josef Haider
852c15954e
alsa-profiles: Add NI Komplete Audio 6 MK2 profiles
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/691 >
2022-03-07 18:04:35 +01:00
Marijn Suijten
5af2afba85
bluetooth/gst: Timestamp encoding buffers according to PA clock
...
Commit c6d6ca541 ("bluetooth/gst: Replace buffer accumulation in adapter
with direct pull") removed the `timestamp` parameter from GStreamer
transcoders due to being unused, but these should instead be propagated
to the GStreamer encoding buffers.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/494 >
2022-02-21 12:33:18 -05:00
Marijn Suijten
5f37914eb8
bluetooth/gst: Replace buffer accumulation in adapter with direct pull
...
Bluetooth codecs should always have fixed in/output and are hence able
to have their results directly read from the codec, instead of
accumulating in a buffer asynchronously that is subsequently only read
in the transcode callback. The Bluetooth backends calling encode/decode
also expect these fixed buffer sizes.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/494 >
2022-02-21 12:31:32 -05:00
Marijn Suijten
201dc6542b
bluetooth/gst: Use GStreamer synchronously within PA's IO thread
...
Handling multiple threads does not come without overhead, especially
when the end-goal is to ping-pong them making the whole system run
serially. This patch rips out all that thread handling and instead
"chains" buffers to be encoded/decoded directly into the pipeline,
making them execute their work on the current thread. The resulting
buffer can be pulled out from appsink immediately without require extra
locking and signalling. While the overhead on modern systems is found
to be negligible or unnoticable, code complexity of such locking and
signalling systems is prevalent making it the main drive behind this
refactor.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/494 >
2022-02-21 12:31:32 -05:00
Arun Raghavan
62deab21a3
build-sys: Bump libpulse soversion for 16.0
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/690 >
2022-02-21 17:20:51 +00:00
Sanchayan Maity
516c691f69
bluetooth: Rename rtp_sbc_payload to rtp_payload
...
Now that we use RTP payload structure for LDAC as well, rename
rtp_sbc_payload to rtp_payload. PipeWire also uses the same naming.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/689 >
2022-02-21 12:15:47 +05:30
Sanchayan Maity
9f0a18b290
bluetooth: ldac: Fix RTP payloading of encoded packet
...
Drop rtpldacpay and payload the LDAC encoded output manually in the
RTP header.
The RTP payload seems to be required as it carries the frame count
information. Right now, rtpldacpay does not add this so construct
the RTP header and payload manually.
Strangely some devices like Shanling MP4 and Sony XM3 would still
work without this while some like the Sony XM4 does not.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/689 >
2022-02-21 12:15:47 +05:30
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
Tanu Kaskinen
16f0a4d7f4
alsa-mixer: Add analog-input path to TI PCM2902 mappings
...
At least Behringer Xenyx 302USB doesn't have any Mic mixer elements (or
indeed any capture mixer elements), so having analog-input-mic as the
only input path caused the input mappings to not show up on this sound
card.
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1325
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/685 >
2022-01-26 16:57:52 +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
baek inchan
cfd8fb9398
Translated using Weblate (Korean)
...
Currently translated at 100.0% (573 of 573 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-11 07:16:32 +01:00
Daniel Hernandez
db18873a41
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/es/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-11 07:16:32 +01:00
Yuri Chornoivan
b460564bdd
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/uk/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-10 02:16:34 +01:00
Oğuz Ersen
523b8ea8cb
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/tr/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-10 02:16:34 +01:00
Anders Jonsson
7d2248a3ff
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-10 02:16:34 +01:00
Piotr Drąg
0344c01e91
Translated using Weblate (Polish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/pl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-08 17:04:55 +01:00
Sungjoon Moon
fcc553f26c
Translated using Weblate (Korean)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/682 >
2022-01-08 09:14:00 +01:00
Tanu Kaskinen
0b920f8095
meson: Enable GStreamer-based RTP by default (when available)
...
The feature was added in 14.0 and was declared experimental at that
point. It should be stable enough to enable by default now.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/680 >
2022-01-05 17:36:14 +02:00
Jaroslav Kysela
bc3a07dd4f
alsa: ucm - use possible mixer private device prefix for ELD controls
...
If UCM defines the private alsa-lib configuration, the ELD controls
are expected to use this device configuration too.
With this change:
I: [pulseaudio] alsa-util.c: Successfully attached to mixer '_ucm0009.hw:Loopback'
Without:
I: [pulseaudio] alsa-util.c: Successfully attached to mixer '_ucm0009.hw:Loopback'
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:4'
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/673 >
2021-12-29 16:13:43 +00:00
Jaroslav Kysela
f5c8b82c3b
alsa: mixer - more clever alias cache implementation
...
The hw: device can be addressed using the card index (hw:0)
or the card identifier (ASCII string - hw:Loopback). Both
mixers are equal.
The previous code was fine for the mixers without the UCM
private prefixes (_ucmXXXX). Make code more robust, create
two aliased mixer structures in the mixers array.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/673 >
2021-12-29 16:13:43 +00:00
Diederik de Haas
1883355f1b
conf: Note configuration snippets must end in .pa
...
At least on Debian (based) systems, the convention for configuration
files is .conf, but for PA they need to be .pa, so mention that.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/678 >
2021-12-18 19:56:46 +01:00
BtbN
5b000acb1a
channelmap: make channel map tables static
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/674 >
2021-12-17 23:39:15 +00:00
Tanu Kaskinen
c95ba1f07f
i18n: Update .pot and .po files
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:45:25 +02:00
Luna Jernberg
8e60659e5d
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Anders Jonsson
88943a8ee9
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Karl Ove Hufthammer
1f2ddcef5f
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nn/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Ettore Atalan
6733df0686
Translated using Weblate (German)
...
Currently translated at 94.7% (542 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/de/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Lv Genggeng
2590e6a4c7
Translated using Weblate (Chinese (Simplified) (zh_CN))
...
Currently translated at 94.7% (542 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/zh_CN/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Luna Jernberg
d62d44a563
Translated using Weblate (Swedish)
...
Currently translated at 99.8% (571 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Oğuz Ersen
e9e9d7c23a
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/tr/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Jan Kuparinen
5178ae55b4
Translated using Weblate (Finnish)
...
Currently translated at 92.8% (531 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/fi/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Gogo Gogsi
de69787aa8
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/hr/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Yuri Chornoivan
c626434153
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/uk/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
simmon
efc05ddb6b
Translated using Weblate (Korean)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Ovari
f70949e78a
Translated using Weblate (Hungarian)
...
Currently translated at 96.5% (552 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/hu/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Piotr Drąg
a927e4fb63
Translated using Weblate (Polish)
...
Currently translated at 100.0% (572 of 572 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/pl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Andika Triwidada
d0f61991da
Translated using Weblate (Indonesian)
...
Currently translated at 96.1% (549 of 571 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/id/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/672 >
2021-12-16 18:44:38 +02:00
Laurent Bigonville
6e45a64478
util: Fix getting the binary name for GNU/Hurd
...
This fixes the get-binary-name-test test
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/671 >
2021-12-16 16:26:11 +01:00
Laurent Bigonville
ea20555378
iochannel: Fix FTBFS on GNU/Hurd
...
This is a followup patch for 0efc38e95f
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/671 >
2021-12-16 16:17:13 +01:00
Jaroslav Kysela
a9cc1373e2
alsa: ucm - update the mixer path also after volume probe
...
The mixer path is cached in the port structure. The function
probe_volumes (alsa-ucm.c) may wipe the mixer path when
the control probe fails, so it is required to update
the mixer path for the port again.
BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/100
BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1849
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/670 >
2021-12-16 14:21:00 +02:00
Jaroslav Kysela
663e41f933
alsa: ucm - fix h/w mute mixer control probe
...
BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/100
BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1849
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/670 >
2021-12-16 12:41:11 +01:00
Jaroslav Kysela
4d98c8bbf1
alsa: ucm - remove duplicate assignment
...
The data pointer is already set few lines before.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/670 >
2021-12-16 12:41:11 +01:00
Mathy Vanvoorden
2101078c22
jackdbus-detect: Allow to configure multiple sinks/sources
...
This makes it possible to define multiple sinks/sources on detection
of the jack server. This allows one to for example create a separate
sink for conferencing software and route that in jack to another
channel on their audio interface.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/669 >
2021-12-16 11:25:41 +00:00
Tanu Kaskinen
ece71de3fd
alsa-mixer: Improve documentation in texas-instruments-pcm2902.conf
...
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/667 >
2021-12-16 12:48:20 +02:00
simple
741a96f20b
alsa-mixer: Rename behringer-umc22.conf to texas-instruments-pcm2902.conf
...
The USB ID that Behringer UMC22 uses actually belongs to Texas
Instruments PCM2902, which is a generic chip used in multiple products.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/667 >
2021-12-16 12:36:26 +02:00