Seungbae Shin [Wed, 22 Feb 2023 06:14:12 +0000 (15:14 +0900)]
module-udev-detect: fix svace defect (DEREF_OF_NULL.RET.STAT)
[Version] 15.0-16
[Issue Type] Svace
Change-Id: I4cb4893401765681e42f1683b8d1484d0889f2a6
Jaechul Lee [Wed, 8 Feb 2023 08:19:22 +0000 (17:19 +0900)]
proplist: Add noise suppression property
property was added to pa_proplist define
PA_PROP_MEDIA_NOISE_SUPPRESSION_ENABLE - set noise suppression status
[Version] 15.0-15
[Issue Type] New feature
Change-Id: I796cb67554375d11b22fc3311bfdd0e3190c9459
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
jungsup lee [Fri, 13 Jan 2023 11:11:57 +0000 (20:11 +0900)]
daemon: remove dependencies in systemd service
to improve pulseaudio start time, remove dependencies in system service.
[Version] 15.0-14
[Issue Type] Performance
Change-Id: I4d3a327fa9eabaf43576317bc5360fad2541f350
Seungbae Shin [Thu, 29 Dec 2022 11:41:12 +0000 (20:41 +0900)]
module-udev-detect: support hdmi hotplug using extcon
+ check DEVPATH instead of DRIVERS for HDMI detection on udev rules
[Version] 15.0-13
[Issue Type] Update
Change-Id: I131adee21e5dbc1add8ca6d046d74d3d60e475a1
Seungbae Shin [Tue, 13 Dec 2022 06:49:28 +0000 (15:49 +0900)]
alsa-udev: load default.conf for hdmi device
[Version] 15.0-12
[Issue Type] Update
Change-Id: Ib7e5bd6f3c0d15f0ca28f0ba7cf54975dfad8e91
Seungbae Shin [Fri, 28 Oct 2022 01:44:47 +0000 (10:44 +0900)]
sound-file-stream: support fd-passing for sound playback
[Version] 15.0-11
[Issue Type] Feature
Change-Id: I9c86c0165b61a3c2b66f7e25bc66f8b2a71e9036
Seungbae Shin [Thu, 18 Aug 2022 11:38:00 +0000 (20:38 +0900)]
protocol-native: ignore invalid sink/source device name
As Tizen module select the proper sink/source based on the framework policy,
explicit sink/source device request will not be accepted even it is a valid device.
This patch will ignore the requsted device which is even invalid one for keeping the consistency.
+ print error for validity macro
[Version] 15.0-10
[Issue Type] Exception
Change-Id: If795b6699af5f058cd0070b4d09cdf2d58726e9a
Jaechul Lee [Mon, 6 Dec 2021 07:00:03 +0000 (16:00 +0900)]
module-alsa-card: Support external device in case of using sink2/source2
pa_alsa_sink/source_new and pa_alsa_sink/source_free functions were
replaced with pa_dl_* for supporting tizenaudio-sink2/source2 when a
external sound card was inserted.
Additionally, use_tizen_hal property that can turn on/off this
functionality was added just in case.
[Version] 15.0-9
[Issue Type] New Feature
Change-Id: I11fdf2340befa6ab182eb0291ba218859c5e2a09
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Stanislaw Wadas [Thu, 12 May 2022 13:32:50 +0000 (15:32 +0200)]
Pulsecore: add missing header file
File is needed to fix build break pulseaudio-modules-droid
Change-Id: I8632a201c61ac947d27117b02d6c10f002249fc0
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
Jaechul Lee [Thu, 14 Apr 2022 06:02:47 +0000 (15:02 +0900)]
source-output: Move resample and memblockq into processor
[Version] 15.0-8
[Issue Type] Cleanup
Change-Id: Id6754260703fa790357c50a82cf773db3e98437a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
jungsup lee [Wed, 30 Mar 2022 11:13:16 +0000 (20:13 +0900)]
Modify pulseaudio-system.conf for tizen TV's modules
[Version] 15.0-7
[Issue Type] New feature
Change-Id: Ide4fbdb14948ca76576aff7fb748c7bc645a07c9
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
Jaechul Lee [Fri, 25 Mar 2022 01:58:29 +0000 (10:58 +0900)]
proplist: Add echo-cancellation properties
properties are added to pa_proplist define
PA_PROP_ECHO_CANCEL_METHOD - set what method want to use.
PA_PROP_ECHO_CANCEL_REFERENCE_DEVICE - device-id by sound_manager api
PA_PROP_ECHO_CANCEL_REFERENCE_SINK - sink index that is converted from device-id
[Version] 15.0-6
[Issue Type] Add define
Change-Id: I0b016ff2200e3a4ab8490e68773f986d3e5e62b2
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Jaechul Lee [Mon, 6 Sep 2021 04:53:51 +0000 (13:53 +0900)]
source-output: Prepare echo-cancellation functionality
* Add echo-cancellation flags to source-output structure.
* Add resampler2, memblock, processor to source-output structure.
* Add post_process function to source_output domain
[Version] 15.0-5
[Issue Type] New feature
Change-Id: I310d9ddf26ddc340d447df571ac497c5a61cf116
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Seungbae Shin [Fri, 11 Feb 2022 06:41:38 +0000 (15:41 +0900)]
Fix build error due to meson version upgrade
[Version] 15.0-4
[Issue Type] Build
Change-Id: Id43d6479191ee63d033554db542980b840886f49
Seungbae Shin [Thu, 27 Jan 2022 06:39:44 +0000 (15:39 +0900)]
meson: Apply ASLR on Executable
[Version] 15.0-3
[Issue Type] Security
Change-Id: Ia2f2ba918c87dc722c2fd35b0bcef52e34aec4a0
Seungbae Shin [Mon, 24 Jan 2022 09:22:18 +0000 (18:22 +0900)]
fixup! Fix SVACE defects
[Version] 15.0-2
[Issue Type] Vulnerability
Change-Id: I6f4296902e05800346fa96e9cf59a8f8d293d144
Seungbae Shin [Fri, 14 Jan 2022 11:33:21 +0000 (20:33 +0900)]
Fix SVACE defects
WGID 479718: MEMORY_LEAK.EX
WGID 479717: DEREF_OF_NULL
+ minor meson option typo fix
[Version] 15.0-1
[Issue Type] Vulnerability
Change-Id: I10ef871108ad1eae30f756e909c4e96f511a8a3c
Seungbae Shin [Fri, 14 Jan 2022 05:09:20 +0000 (14:09 +0900)]
bluetooth: Fix crash by excluding sbc_xq end-points
Tizen supports basic sbc end-point only
Change-Id: I3237f3fdca89612f15d0e71f77302e331f4a0ba6
Seungbae Shin [Mon, 3 Jan 2022 11:36:04 +0000 (20:36 +0900)]
meson: Fix for TV build
- Support for lwipc/prelink build option
- Disable bluez feature on TV
- Exclude sbc checking if bluez feature is disabled
Change-Id: Ib81d68a1b92d122c4a30fea15451d0a4d290d2a8
Marijn Suijten [Wed, 3 Nov 2021 16:40:19 +0000 (17:40 +0100)]
pulsecore/shm: Remove shm_marker struct packing for pa_atomic_t fields
Taking addresses of fields in a packed struct are not guaranteed to be
aligned, resulting in warnings such as:
../src/pulsecore/shm.c: In function 'sharedmem_create':
../src/pulsecore/shm.c:198:25: error: taking address of packed member of 'struct shm_marker' may result in an unaligned pointer value [-Werror=address-of-packed-member]
198 | pa_atomic_store(&marker->pid, (int) getpid());
| ^~~~~~~~~~~~
The struct already has its fields and types laid out in such a way that
the desired packing (without padding) is guaranteed - enforce this with
a `static_assert` to get rid of the unaligned pointer warning.
Change-Id: I012f97f2df3248c0285a3b4f594ae218bc81385e
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/653>
Igor V. Kovalenko [Fri, 6 Aug 2021 19:26:40 +0000 (22:26 +0300)]
alsa-mixer: Set mdev to NULL if there is no mapping
We check if mapping is NULL but if so we never set mdev, set it to NULL as well.
Fixes:
79cb1369fc4d22966cb65253e9da2ccda2f25b45
Change-Id: I615491e5752f2ad23794b90170fee291525659ce
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/615>
Sangchul Lee [Thu, 30 Dec 2021 01:19:01 +0000 (10:19 +0900)]
sink: Remove unused member variable in pa_sink
'origin_avoid_resampling' is removed not used.
Change-Id: I5b80e140777c827ed3a515a0d07b557ce8278189
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Wed, 29 Dec 2021 04:03:23 +0000 (13:03 +0900)]
alsa-udev: Fix unexpected non-usb udev dectection
Change-Id: I55f2f08456cf905771645b115a46b647d8c39064
Seungbae Shin [Mon, 27 Dec 2021 05:45:04 +0000 (14:45 +0900)]
meson: Fix external module build error
Change-Id: Ia1132f15eb741c0eb87e694768a2fe6a2433bcea
Seungbae Shin [Mon, 27 Dec 2021 05:30:43 +0000 (14:30 +0900)]
meson: Fix packaging error
- Exclude unsupported module-virtual-surround-sink
- Exclude unused pulseaudio-x11.service
- Enable bluetooth using previous dependancy checks
(will be reverted to upstream when bluez updated)
Change-Id: I1437e4f4571a59610a35e60d4394d89f229dff9f
Seungbae Shin [Mon, 27 Dec 2021 05:26:31 +0000 (14:26 +0900)]
version up 15.0
Change-Id: I79b2f835587a2e711badbd26dece95ce3e87ef36
Seungbae Shin [Mon, 27 Dec 2021 05:24:16 +0000 (14:24 +0900)]
Initial conflict resolving
Change-Id: Ia4f9d69834edafb1f11d0fd8385aed14b3894459
Seungbae Shin [Thu, 30 Dec 2021 07:39:51 +0000 (16:39 +0900)]
Merge branch 'upstream/15.0' into tizen
Change-Id: I2e305cd55adc2de24c0596c0dba83f44859b706b
Seungbae Shin [Wed, 15 Dec 2021 14:55:32 +0000 (23:55 +0900)]
Apply meson build
Change-Id: Ic4a66d67dd67ad7b74aacc7b0b27b7d9eb537836
jungsup lee [Mon, 27 Sep 2021 09:36:39 +0000 (18:36 +0900)]
alsa-card: use tizen_usb.conf if profile set is not exist
[Version] 13.0-37
[Issue Type] Bug fix
Change-Id: Idde4aefcaa8718e26b6119147d2644685c8272b2
Seungbae Shin [Fri, 1 Oct 2021 12:09:58 +0000 (21:09 +0900)]
core, sink-input: dump sink-input info when it exceeds the maximum connection
+ fix minor warning
[Version] 13.0-36
[Issue Type] Debugging
Change-Id: Ia33d4fc0507630576b1305acff64633853a99de3
Seungbae Shin [Mon, 28 Dec 2020 07:44:25 +0000 (16:44 +0900)]
protocol-native, client: dump current connections on every new incoming connection
[Version] 13.0-35
[Issue Type] Debugging
Change-Id: I4078d1f7c8da1d4afbe4f472298aaf7f184c62e6
Seungbae Shin [Mon, 6 Sep 2021 11:15:18 +0000 (20:15 +0900)]
Allow permission if the process that setting stream volume is identical to stream creater
[Version] 13.0-34
[Issue Type] Bug fix
Change-Id: I739c602d6e63a4228cc4eaef9a16a27dd2078171
Georg Chini [Mon, 4 Jan 2021 20:08:05 +0000 (21:08 +0100)]
loopback: Fix sink latency calculation if source is alsa source with fixed latency
When an alsa source with fixed latency is used, the actual latency of the source
will only be one fragment size. This is not taken into account when the required
sink latency is calculated.
This patch fixes the issue.
[jungsup4.lee: backport mainline commit 0efae0]
[Version] 13.0-33
[Issue Type] Bug fix
Change-Id: If8b7aa3735c1a2456fa50f55b267180fa2efd1a1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/451>
Seungbae Shin [Tue, 17 Aug 2021 09:10:46 +0000 (18:10 +0900)]
mutex-posix: fix svace defects (SIGN_EXTENSION)
[Version] 13.0-32
[Issue Type] Svace
Change-Id: Ibb61bbf8d069f869a695b40fa3c7db29be44c68f
Arun Raghavan [Tue, 27 Jul 2021 16:59:58 +0000 (12:59 -0400)]
build-sys: Fix a warning related to avahi and config data
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/608>
Arun Raghavan [Tue, 27 Jul 2021 16:48:32 +0000 (12:48 -0400)]
build-sys: Fix a warning related to gsettings and config data
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/607>
Arun Raghavan [Tue, 27 Jul 2021 16:42:33 +0000 (12:42 -0400)]
Update NEWS for 15.0
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/606>
Evan Miller [Wed, 7 Jul 2021 16:14:26 +0000 (16:14 +0000)]
Fix a strict-prototypes warning
Some older compilers complain about the empty arg list in
pa_memfd_is_locally_supported.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/603>
Laurent Bigonville [Tue, 13 Jul 2021 08:49:01 +0000 (10:49 +0200)]
iochannel: Fix FTBFS on Debian kfreebsd
Fixes: #1233
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/605>
Igor V. Kovalenko [Wed, 30 Jun 2021 19:12:55 +0000 (22:12 +0300)]
alsa-ucm: fix persistent port names with alsa-lib >= 1.2.5
Alsa UCM device string can contain private configuration prefix required to make
correct device open call. Private prefix is dynamically generated by UCM manager
depending on internal state. Since pulseaudio sink/source port names currently
contain device string, these may change between runs breaking volume database
and module arguments referring to sink/source.
Fix this by skipping UCM private prefix available via `_alibpref` key while
creating UCM mapping name. Mapping object will still contain unmodified
device string for device open call.
See also https://github.com/alsa-project/alsa-ucm-conf/issues/104
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/598>
Tanu Kaskinen [Fri, 9 Jul 2021 09:32:27 +0000 (12:32 +0300)]
stream-restore: make version check stricter when dropping old entries
If we increment ENTRY_VERSION in the future, the old code would drop
entries with version 2, but we only want to drop entries with version 1.
This issue was spotted by Igor Kovalenko:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/298#note_983365
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/604>
Tanu Kaskinen [Mon, 5 Jul 2021 11:02:03 +0000 (14:02 +0300)]
i18n: Update .pot and .po files
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/602>
Alexey Rubtsov [Wed, 30 Jun 2021 12:06:30 +0000 (12:06 +0000)]
Translated using Weblate (Russian)
Currently translated at 98.2% (556 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/601>
Igor V. Kovalenko [Sun, 4 Jul 2021 06:58:26 +0000 (09:58 +0300)]
module-gsettings: Handle I/O hangup
When child `gsettings-helper` terminates prematurely, unconditionally reading
from child pipe fails in a busy loop until child process is reaped.
Fix this by terminating module upon PA_IO_EVENT_HANGUP or PA_IO_EVENT_ERROR.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/600>
Alper Nebi Yasak [Tue, 29 Jun 2021 16:30:43 +0000 (19:30 +0300)]
alsa-ucm: Log about the correct path value when probing volumes
These two log messages are most likely intended for the path that was
just tried, but they are mistakenly printing the name of the port's
current path. Fix them.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/594>
Robin Lahtinen [Mon, 28 Jun 2021 19:45:01 +0000 (19:45 +0000)]
Translated using Weblate (Finnish)
Currently translated at 91.1% (516 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/fi/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/597>
Toni Estevez [Sat, 26 Jun 2021 15:50:39 +0000 (15:50 +0000)]
Translated using Weblate (Spanish)
Currently translated at 94.8% (537 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/es/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/597>
Emilio Herrera [Sun, 27 Jun 2021 14:13:35 +0000 (14:13 +0000)]
Translated using Weblate (Spanish)
Currently translated at 94.8% (537 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/es/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/597>
simmon [Mon, 21 Jun 2021 09:58:00 +0000 (09:58 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/597>
Igor V. Kovalenko [Fri, 18 Jun 2021 17:48:12 +0000 (20:48 +0300)]
build-sys: meson: Require bluez dependency if bluez5 feature is enabled
Build breaks if bluez5 and bluez5-native-headset are both enabled
but bluez headers are not available.
Fix this by changing `bluez5` to Meson feature requiring `bluez` dependency.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/583>
Igor V. Kovalenko [Sun, 20 Jun 2021 23:32:41 +0000 (02:32 +0300)]
build-sys: meson: require GIO dependency for RTP-GStreamer
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/584>
Hui Wang [Mon, 7 Jun 2021 08:58:36 +0000 (16:58 +0800)]
alsa-sink/source: set volume to hw immediately if ucm_port changing
Recently we found an issue of output volume on speaker and headphone,
they should have their own volume but in practice they share one
output volume.
This issue happens on the laptops which use the ucm2 sof-hda-dsp,
originally the speaker has output volume A while the headphone has the
output volume B, suppose the speaker is the active port at the moment
and the output volume is A, users plug a headphone to the jack and the
headphone becomes the active port, in this process, ucm_set_port()
calls _disdev/_enadev which triggers the io_mixer_callback(), in the
meanwhile, the module_device_restore will restore the headphone's
volume to B, it will call set_volume_cb() to set the volume to B, but
this value is not written to hw immediately, during the time of
waiting for the B to be written to the hw, the io_mixer_callback()
calls get_volume_cb(), it reads hw volume and gets the volume A, then
it overrides the output volume to A, this results in the headphone
gets the volume A instead of B.
If a machine doesn't use the ucm, this issue will not happen since the
set_port_cb() will not trigger the io_mixer_callback(). If the ports
don't belong to the same sink/source, this issue also doesn't happen.
BugLink: http://bugs.launchpad.net/bugs/1930188
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/577>
Patrick Gaskin [Sun, 30 May 2021 19:28:46 +0000 (15:28 -0400)]
win32: Add DACLs for directories created by system daemon
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/549>
Patrick Gaskin [Sun, 30 May 2021 19:28:30 +0000 (15:28 -0400)]
daemon: Add support for running as a service on win32
* Minimal implementation of --system on win32.
* Wrap main with a Windows Service on win32 (with a fallback to
running it directly).
* Update PA_SYSTEM_{RUNTIME,STATE,CONFIG}_PATH and HOME dynamically
on Windows (overrides the build config, similar to the existing
config path replacement logic).
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/549>
Hui Wang [Fri, 28 May 2021 02:25:27 +0000 (10:25 +0800)]
alsa-mixer: only use switch to mute Front in the Headphone path
According to the alsa-info.txt in the pipewire issues of 747 and 1206,
the Front Playback Volume is shared by Headphone and Lineout or
Headphone and Speaker, But Headphone, Lineout or Speaker they all have
independent Playback Switch, change to only use switch to mute the
Lineout or Speaker. This could resolve the issues of 747 and 1206.
BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1206
BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/747
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/565>
Patrick Gaskin [Sun, 30 May 2021 19:25:10 +0000 (15:25 -0400)]
win32: Misc Unix socket fixes
* Make pa_parse_address recognize Unix socket addresses with
Windows-style absolute paths.
* Treat WASEINVAL as a stale socket.
* Make HAVE_AF_UNIX in config templates recognize winsock2.h.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/546>
Patrick Gaskin [Sun, 30 May 2021 19:24:56 +0000 (15:24 -0400)]
win32: Fix environment variables set with pa_{unset,set}_env not taking effect
SetEnvironmentVariable is not visible to getenv.
See https://github.com/curl/curl/issues/4774.
See https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/getenv-wgetenv.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/546>
Patrick Gaskin [Sun, 30 May 2021 19:24:26 +0000 (15:24 -0400)]
win32: Fix minimum Windows version for inet_{ntop,pton}
https://docs.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf-ws2tcpip-inet_ntop#requirements
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/546>
Scott Worley [Mon, 14 Jun 2021 03:11:34 +0000 (20:11 -0700)]
gsettings: Emit glib logs on stderr, not stdout
Having G_MESSAGES_DEBUG=all set in the environment (a normal thing to do
when debugging Gnome troubles) causes gsettings-helper to emit a bunch
of helpful gnome debug logs (which is good), but before this change they
were printed on stdout rather than stderr (which was bad!). Rather than
going somewhere the user could see, these log messages were being sent
to the pulesaudio server and interpreted as the src/modules/stdin-util.c
protocol. pulseadio waits to see a '!' message from gsettings-helper
before continuing startup. With the log messages mixed in messing up
the stdin-util protocol, pulseaudio never saw the '!' message, and so
never completed startup.
This simple fix relies on a recent glib > 2.68 (Mar 2021), so builds
against old versions of glib will still have this problem! We consider
this good enough until some complains otherwise.
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1222
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/579>
Igor V. Kovalenko [Tue, 15 Jun 2021 06:19:09 +0000 (09:19 +0300)]
alsa-mixer: updated Sennheiser GSX 1200 device ID
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/581>
Igor V. Kovalenko [Mon, 14 Jun 2021 15:53:43 +0000 (18:53 +0300)]
doc: link to site documentation for IRC channels
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/580>
Johannes Wolf [Thu, 27 May 2021 16:39:40 +0000 (18:39 +0200)]
alsa-profiles: Add NI Komplete Audio 6 profiles
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/564>
Igor V. Kovalenko [Tue, 15 Dec 2020 21:35:05 +0000 (00:35 +0300)]
card: handle sticky profile flag
New card database entry version 5 for card profile is sticky flag.
New messaging API handlers set-profile-sticky and get-profile-sticky.
When card profile is sticky, always restore it even if it is unavailable,
and prevent switching from it when ports become unavailable.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/568>
Igor V. Kovalenko [Mon, 7 Jun 2021 05:53:24 +0000 (08:53 +0300)]
alsa-mixer: check if mapping is NULL before using it
Fix Debian bullseye bug where adding this line makes pulseaudio crash on startup
`load-module module-alsa-sink device=hw:1,0 control=Wave`
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989103
Fixes:
dacfcbb09 ("alsa-ucm: use the proper mixer name for ucm pcm sink/source")
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/576>
Georg Chini [Mon, 19 Apr 2021 06:19:50 +0000 (08:19 +0200)]
loopback: Fix crash bug
The loopback message may be called after the sink input is already destroyed which causes
a crash. Also memory is leaked because the message object is not correctly freed.
This patch fixes the problems by adding a "dead" flag to the message structure and freeing
the message object on exit.
[jcsing.lee: backport mainline commit
468e3669a for fixing crash]
[Version] 13.0-31
[Issue Type] Bug fix
Change-Id: Id5ce55554fadda9cffeca698685897a88f45c2cb
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/541>
garrison [Fri, 4 Jun 2021 22:13:02 +0000 (22:13 +0000)]
build-sys: meson: check if NEON code can be compiled on arm
When Meson SIMD module returns HAVE_NEON=1 on arm host, do extra compile check
to verify compiler can actually handle NEON code.
Related Meson issue #6361 https://github.com/mesonbuild/meson/issues/6361
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/574>
Igor V. Kovalenko [Sat, 5 Jun 2021 09:37:24 +0000 (12:37 +0300)]
build-sys: meson: check HAVE_MMX and HAVE_SSE before calling initializers
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/575>
Igor V. Kovalenko [Tue, 1 Jun 2021 19:35:26 +0000 (22:35 +0300)]
json: remove json from public API
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/570>
Felipe Sateler [Wed, 2 Jun 2021 00:42:44 +0000 (20:42 -0400)]
tests: fix json test for large numbers
PRIu64 means print a uint64_t, not an unsigned long. This
is warned by the compiler:
warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int'
This causes build failures on some 32-bit archs
https://buildd.debian.org/status/fetch.php?pkg=pulseaudio&arch=i386&ver=14.99.1%2Bdfsg1-2&stamp=
1622553415&raw=0
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/571>
Igor V. Kovalenko [Thu, 3 Jun 2021 06:43:10 +0000 (09:43 +0300)]
build-sys: meson: restore big endian detection
Autotools used AC_C_BIGENDIAN to set WORDS_BIGENDIAN, add Meson implementation.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/572>
Ilja van Sprundel [Sun, 23 May 2021 21:10:49 +0000 (21:10 +0000)]
webrtc: Avoid using dynamic strings as format strings
Properly call format functions, dynamic strings shouldn't be passed as
format strings. Instead a format string of "%s" should be used, with the
dynamic string as it's argument.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/563>
Ricky Tigg [Fri, 28 May 2021 13:46:13 +0000 (13:46 +0000)]
Translated using Weblate (Finnish)
Currently translated at 90.9% (515 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/fi/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
scootergrisen [Fri, 21 May 2021 22:52:52 +0000 (22:52 +0000)]
Translated using Weblate (Danish)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/da/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
scootergrisen [Fri, 21 May 2021 22:33:37 +0000 (22:33 +0000)]
Translated using Weblate (Danish)
Currently translated at 97.7% (553 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/da/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Yuri Chornoivan [Tue, 18 May 2021 11:01:49 +0000 (11:01 +0000)]
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/uk/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Yaron Shahrabani [Tue, 11 May 2021 10:53:45 +0000 (10:53 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 29.6% (168 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/he/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Yaron Shahrabani [Mon, 10 May 2021 05:46:44 +0000 (05:46 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 28.6% (162 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/he/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Anders Jonsson [Mon, 3 May 2021 15:28:27 +0000 (15:28 +0000)]
Translated using Weblate (Swedish)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Milo Casagrande [Sun, 18 Apr 2021 19:42:14 +0000 (19:42 +0000)]
Translated using Weblate (Italian)
Currently translated at 98.5% (558 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/it/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
scootergrisen [Thu, 15 Apr 2021 12:23:52 +0000 (12:23 +0000)]
Translated using Weblate (Danish)
Currently translated at 97.3% (551 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/da/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
simmon [Mon, 12 Apr 2021 05:11:25 +0000 (05:11 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Toni Estevez [Sun, 11 Apr 2021 07:19:23 +0000 (07:19 +0000)]
Translated using Weblate (Spanish)
Currently translated at 91.5% (518 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/es/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
simmon [Tue, 6 Apr 2021 04:25:12 +0000 (04:25 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
simmon [Thu, 1 Apr 2021 06:02:28 +0000 (06:02 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Pjotr Vertaalt [Mon, 29 Mar 2021 22:09:17 +0000 (22:09 +0000)]
Translated using Weblate (Dutch)
Currently translated at 99.1% (561 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Pjotr Vertaalt [Thu, 25 Mar 2021 20:36:38 +0000 (20:36 +0000)]
Translated using Weblate (Dutch)
Currently translated at 99.1% (561 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
simmon [Thu, 25 Mar 2021 07:51:29 +0000 (07:51 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Yaron Shahrabani [Thu, 25 Mar 2021 08:05:57 +0000 (08:05 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 27.0% (153 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/he/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Göran Uddeborg [Tue, 23 Mar 2021 12:06:02 +0000 (12:06 +0000)]
Translated using Weblate (Swedish)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Pjotr Vertaalt [Wed, 24 Mar 2021 08:53:48 +0000 (08:53 +0000)]
Translated using Weblate (Dutch)
Currently translated at 98.9% (560 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Pjotr Vertaalt [Mon, 22 Mar 2021 19:39:13 +0000 (19:39 +0000)]
Translated using Weblate (Dutch)
Currently translated at 97.5% (552 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Pjotr Vertaalt [Mon, 22 Mar 2021 18:00:58 +0000 (18:00 +0000)]
Translated using Weblate (Dutch)
Currently translated at 97.5% (552 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
simmon [Fri, 19 Mar 2021 18:25:46 +0000 (18:25 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ko/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Milo Casagrande [Thu, 18 Mar 2021 10:29:19 +0000 (10:29 +0000)]
Translated using Weblate (Italian)
Currently translated at 97.8% (554 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/it/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Karl Ove Hufthammer [Wed, 10 Mar 2021 19:59:00 +0000 (19:59 +0000)]
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nn/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Oğuz Ersen [Tue, 9 Mar 2021 10:14:28 +0000 (10:14 +0000)]
Translated using Weblate (Turkish)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/tr/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Ricky Tigg [Tue, 9 Mar 2021 13:14:08 +0000 (13:14 +0000)]
Translated using Weblate (Finnish)
Currently translated at 90.9% (515 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/fi/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Piotr Drąg [Tue, 9 Mar 2021 15:55:30 +0000 (15:55 +0000)]
Translated using Weblate (Polish)
Currently translated at 100.0% (566 of 566 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/pl/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>
Yaron Shahrabani [Mon, 8 Mar 2021 08:42:31 +0000 (08:42 +0000)]
Translated using Weblate (Hebrew)
Currently translated at 26.0% (147 of 564 strings)
Translation: pulseaudio/pulseaudio
Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/he/
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/573>