summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
13 daysbuild-sys: Fix running on macOSHEADmasterMohamed Akram2-2/+8
Ensure modules are built as .so files so that they are found by ltdl at runtime. Fix HAVE_COREAUDIO not being set on macOS leading to sound not working in the default configuration. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3808 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/817>
2024-04-05cli-command: Fix wrong condition check of pa_module_loadkwangshik.kim1-2/+2
pa_module_load API's return value is integer which is enum pa_error_code_t with minus such as -PA_ERR_IO if the module loading is failed. pa_cli_command_load gets a return value of pa_module_load as pa_error_code_t which is wrong. Minus integer value could not covert to enum which is defined equal or larger than 0 so that pa_cli_command_load would recognize the return value as larger than 0 if pa_module_load return value (integer) is minus. To fix this issue, I modified return value check logic of pa_module_load API. As same as pa_module_load's return type, integer would be used to check if module load is failed in pa_cli_command_load and the return value would be compared with minus. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3801 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/814>
2024-03-22tests: Don't run volume tests with impossible alignmentsArun Raghavan1-17/+16
This worked so far somehow, but we were sending in some samples at unrealistic alignments (given that pa_memblockq will be frame-aligned, and we expect all operations to occur per-frame as well). Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3803 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/812>
2024-03-22build-sys: Add a wrap file for OrcArun Raghavan1-0/+8
Makes building Orc as a subproject easier. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/811>
2024-03-18Don't log battery level and dock status every minuteMartin Tournoij1-2/+2
My log files get completely clobbered by this; thousands of lines of: Jan 18 18:14:44 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:15:39 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% Jan 18 18:15:39 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:16:34 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% Jan 18 18:16:34 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:17:29 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% Jan 18 18:17:29 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:18:25 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% Jan 18 18:18:25 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:19:20 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% Jan 18 18:19:20 pulseaudio[29946]: [pulseaudio] backend-native.c: Dock Status: undocked Jan 18 18:20:15 pulseaudio[29946]: [pulseaudio] backend-native.c: Battery Level: 50% This seems like it should be a debug log, not a notice. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/810>
2024-01-30tests: remove check2 timeouts in favor of mesonmatoro20-32/+1
Meson already handles timeouts, configurable on the command line with --timeout-multiplier. They are set to 300s for all tests. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807>
2024-01-12alsa-ucm: Replace port device UCM context assertion with an errorAlper Nebi Yasak1-2/+12
The pa_alsa_ucm_set_port() function is passed both a mapping context and a device port, and both of these refer to their respective UCM device. While switching over to having one port per mapping per UCM device, I expected both of these to be the same device struct, so added an assert checking so. This assertion gets triggered when we have multiple UCM verbs declaring the same UCM device name. The root cause here is that the ports' UCM device references are set once while creating the ports for the card, so they happen to be those of a specific verb and may not match those from a different UCM verb's profiles' mappings. Solving the root cause necessitates a larger refactor. What we actually assume here is that name of the UCM device is same for both the port and the UCM context, which ends up always true in practice. For now, replace the assert with a check and error. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/802>
2024-01-12alsa-ucm: Check UCM verb before working with device statusAlper Nebi Yasak1-0/+30
Some versions of the ALSA libraries run into a segmentation fault when we query a UCM device/modifier status without first setting a UCM verb. It's not a reasonable thing to do anyway, so check for this case and return an error. Also do the check in other helpers. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/801>
2024-01-12Update NEWS for 17.0v17.0Arun Raghavan1-0/+73
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/805>
2024-01-05backend-native: Handle multi AT commands in a bufferHui Wang1-81/+95
When we connect Lenovo XT99 bt headset in the Ubuntu 22.04, this headset could only work in A2DP profile, couldn't work in HFP profile with a high chance. This headset supports mSBC, after pulseaudio replies "+BCS:2" to headset, we expect to receive a "AT+BCS=2\r" from the headset, but with a high chance, it will receive 2 AT commands in a buffer like this "AT+CHLD=?\rAT+BCS=2\r", and we also observed other 2 AT commands in a buffer like this "AT+NREC=0\rAT+CGMI?\r". Here we don't suppose there is only one AT command in a buffer, we will find each command by the delimiter "\r" and handle each command by sequence. Signed-off-by: Hui Wang <hui.wang@canonical.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/804>
2023-11-12Fix crash running in restricted environment.Igor V. Kovalenko1-1/+1
When `pwd.h` header is not available (i.e. not using glibc) and environment variables are not set (e.g. running via `env --ignore-environment`) client library would crash due to uninitialized variable in `pa_get_home_dir()`. Add missing initialization to fix that. Fixes: #3792 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/800>
2023-10-25memblockq: Adjust tail chunk offset into memblock after splitIgor V. Kovalenko2-0/+51
If pa_memblockq_push needs to write into the middle of a chunk, target chunk is split into head and tail sharing the same memblock. Size of head and tail chunks is adjusted correctly, head chunk pointer into memblock remains unchanged from target chunk. The problem is with tail chunk offset into memblock which should be advanced past write region of memblock, but currently it is left as 0. This is causing an issue where seeking a few frames back into the middle of memblock and writing a frame there ends up with tail chunk referencing frames from very beginning of memblock causing corrupted output from memblockq. Fix this by adjusting tail chunk offset into memblock past write region and add a test case. Fixes #3789 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/798>
2023-10-24shell-completion: Fix typo in --use-pid-file= suggestionIgor V. Kovalenko1-1/+1
Fixes #3786 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/799>
2023-09-05build-sys: Bump webrtc-audio-processing wrap to 1.3Arun Raghavan1-1/+1
Minor pkgconfig fixup. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/797>
2023-09-01build-sys: Bump webrtc-audio-processing wrap to 1.2Arun Raghavan1-1/+1
Should make builds actually work now. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-09-01ci: Drop -werror in buildArun Raghavan1-1/+1
Can't rely on this while building abseil on older Ubuntu (or at all, perhaps). Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-09-01ci: Add doxygen to build imageArun Raghavan1-0/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-09-01ci: Force build of webrtc-aecArun Raghavan1-5/+5
Makes sure we build this, either with system deps or the fallback wrap file. We also bump the CI meson version to support [provide] in the wrap file. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-09-01build-sys: Add a webrtc-audio-processing wrap fileArun Raghavan3-1/+10
This will make things easier on systems where this is missing, as well as allow us to test things in CI until packages land in Ubuntu/Fedora/... The wrap file is taken as-is from the GStreamer project. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-09-01build-sys: Bump cpp_std to c++17Arun Raghavan1-1/+1
Match it with webrtc-audio-processing, which is what we care about. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-08-13shm: allow for older versions of Linux without MFD_NOEXEC_SEALRudi Heitbaum1-0/+4
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/794>
2023-08-12Translated using Weblate (Korean)v16.99.1김인수1-2/+2
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/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-43/+43
Currently translated at 57.8% (331 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Korean)김인수1-3/+3
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/741>
2023-08-12Translated using Weblate (Korean)김인수1-4/+4
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/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-5/+5
Currently translated at 50.6% (290 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Basque)Asier Sarasua Garmendia1-17/+19
Currently translated at 2.4% (14 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/eu/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Added translation using Weblate (Basque)Asier Sarasua Garmendia2-0/+2901
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Turkish)Sabri Ünal1-17/+19
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/741>
2023-08-12Translated using Weblate (Galician)Fran Diéguez1-14/+13
Currently translated at 100.0% (572 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/gl/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (French)grimst1-31/+22
Currently translated at 85.3% (488 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/fr/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-12/+14
Currently translated at 50.1% (287 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Lithuanian)mooo1-10/+9
Currently translated at 91.9% (526 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/lt/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-5/+5
Currently translated at 48.0% (275 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Galician)Fran Diéguez1-21/+26
Currently translated at 99.6% (570 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/gl/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Finnish)Jan Kuparinen1-30/+56
Currently translated at 100.0% (572 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/741>
2023-08-12Translated using Weblate (Spanish)Toni Estevez1-30/+30
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/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-18/+18
Currently translated at 47.5% (272 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Spanish)Toni Estevez1-393/+397
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/741>
2023-08-12Translated using Weblate (Spanish)Toni Estevez1-52/+71
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/741>
2023-08-12Translated using Weblate (German)Ettore Atalan1-4/+4
Currently translated at 94.9% (543 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/741>
2023-08-12Translated using Weblate (Korean)김인수1-3/+3
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/741>
2023-08-12Translated using Weblate (Dutch)Philip Goto1-16/+14
Currently translated at 99.1% (567 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-6/+6
Currently translated at 44.5% (255 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Korean)김인수1-3/+3
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/741>
2023-08-12Translated using Weblate (Spanish)Toni Estevez1-6/+7
Currently translated at 99.8% (571 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/741>
2023-08-12Translated using Weblate (Catalan)Toni Estevez1-4/+6
Currently translated at 71.8% (411 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ca/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Georgian)Temuri Doghonadze1-4/+4
Currently translated at 43.5% (249 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ka/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>
2023-08-12Translated using Weblate (Finnish)Jiri Grönroos1-6/+6
Currently translated at 93.3% (534 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/741>
2023-08-12Translated using Weblate (Catalan)Jordi Mas1-5/+5
Currently translated at 71.5% (409 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ca/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/741>