summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 16.1v16.1stable-16.xTanu Kaskinen2022-06-211-0/+19
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/727>
* bluetooth/gst: Correct var type for GST_TYPE_BITMASKJan Palus2022-06-201-1/+2
| | | | | | | | | | | GST_TYPE_BITMASK is 64-bit bit mask while corresponding channel_mask in pulseaudio is int therefore usually 32-bit. Switch to uint64_t instead to match internal representation in gstreamer. Fixes pulseaudio crash on ARM 32-bit when pulseaudio is compiled with gstreamer and either LDAC or aptX support is available. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/723>
* combine-sink: Fix threading issue during underrunGeorg Chini2022-06-201-14/+23
| | | | | | | | | | | | | A recent commit added i->origin sink for the sink inputs of the combine sinks. Therefore pa_sink_process_input_underruns() treated the combine sink like filter sinks. pa_sink_process_input_underruns() calls itself with the origin sink, which is only correct for filter sinks because they run in the thread context of the origin sink. The combine sink however has its own thread context, so pa_sink_process_input_underruns() was executed in the wrong context. This patch fixes the issue by skipping the section for module-combine-sink. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/722>
* rtp: Initialize SDP info struct field added for OPUSIgor V. Kovalenko2022-06-201-0/+1
| | | | | | | | | | Turned out that pa_sdp_info::enable_opus is never initialized, which seldom makes module-rtp-recv believe it will be playing OPUS-encoded stream even though discovered SDP record does not indicate OPUS codec in metadata. Fix this by adding missing initializer. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/720>
* sound-file-stream: Fix crash when playing a file which is not alignedJaechul Lee2022-06-201-1/+1
| | | | | | | | | | | | | | | | | pulseaudio crash occurred when I play a file using pacmd play-file command. The file is not aligned with its frame size and the last rendering size is also not aligned. Thus, an assertion was generated at the end of the file as the following. memblockq.c: Assertion 'uchunk->length % bq->base == 0' failed at ../src/pulsecore/memblockq.c:288, function pa_memblockq_push(). Aborting. When I play the file using paplay, it works good. So, I changed to pa_memblockq_push_align instead of pa_memblockq_push to prevent the assertion. Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/717>
* pactl: fix parsing of percentages with decimal pointsSean Greenslade2022-06-201-4/+4
| | | | | | | | | | | 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.
* build-sys: Bump soversion for 16.0 releasev16.0Arun Raghavan2022-05-281-1/+1
| | | | | | Just a minor time smoother 2 related change in libpulse implementation. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/714>
* Update NEWS for 16.0Arun Raghavan2022-05-281-0/+68
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/714>
* combine-sink: Fix latency reportsGeorg Chini2022-05-281-1/+1
| | | | | | | | | The combine sink used the current time and counter when calculating the latency if smoother_2 was enabled. This lead to wrong latency reports. This patch fixes the problem by using the snapshot time and counter instead. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/711>
* various places: Include resampler delay to latency reports and calculationsGeorg Chini2022-05-289-0/+31
| | | | | | | The resampler delay was not taken into account in all necessary places. This patch adds it where required. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/708>
* Translated using Weblate (Russian)Sergey A2022-05-281-227/+193
| | | | | | | | Currently translated at 100.0% (573 of 573 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/713>
* Translated using Weblate (Norwegian Nynorsk)Karl Ove Hufthammer2022-05-281-19/+20
| | | | | | | | 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/713>
* Translated using Weblate (Polish)Piotr Drąg2022-05-281-4/+6
| | | | | | | | 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/713>
* Translated using Weblate (Korean)김인수2022-05-281-104/+114
| | | | | | | | 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/713>
* Translated using Weblate (Finnish)Jan Kuparinen2022-05-281-7/+7
| | | | | | | | 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/713>
* Translated using Weblate (Ukrainian)Yuri Chornoivan2022-05-281-3/+3
| | | | | | | | 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/713>
* Translated using Weblate (Turkish)Oğuz Ersen2022-05-281-9/+11
| | | | | | | | 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/713>
* Translated using Weblate (Swedish)Anders Jonsson2022-05-281-5/+5
| | | | | | | | 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/713>
* Translated using Weblate (Swedish)Göran Uddeborg2022-05-281-16/+18
| | | | | | | | 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/713>
* Translated using Weblate (Russian)Sergey A2022-05-281-72/+236
| | | | | | | | Currently translated at 99.8% (571 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/713>
* bluetooth: mSBC: Decode packets larger than mSBC frameIgor V. Kovalenko2022-05-271-33/+47
| | | | | | | | | | | | | | Bluetooth transport layer already allows for packets larger than mSBC frame, and there are up to 1 + MTU / (mSBC packet size) complete frames to be decoded from each incoming SCO packet. Now decoder fails when there is more than one complete frame available, which could happen if MTU size is larger than 1.5 * (mSBC packet size) = 90 Fix this by adding a loop over avialable frames, and adjust decoded buffer size to allow decoding up to 1 + MTU / (mSBC packet size) frames at once. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/706>
* zeroconf-publish: Fix crash when avahi_client_new() failsGeorg Chini2022-05-261-1/+1
| | | | | | | | | | | When the module is loaded and avahi_client_new() fails because the client cannot connect, a shutdown of the module is scheduled. In parallel, the client_callback is called with AVAHI_ERR_DISCONNECTED and another connection attempt is made which also fails and triggers a second unload of the module. This crashes PA, because there is already an unload in progress. This patch fixes the problem by checking if an unload is already scheduled. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/710>
* module-tunnel: Improve latency calculationGeorg Chini2022-05-251-4/+12
| | | | | | | | | The timestamp used for updating the smoother was taken at the wrong time. It may take some time until an async message is executed (measured up to 2ms), therefore the timestamp used to update the smoother must be taken before the message is executed and not inside the message. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/705>
* tunnel modules: Fix crash when the module was unloaded while waiting for re-initGeorg Chini2022-05-255-59/+231
| | | | | | | | | When the tunnel modules had no connection and a re-init was pending, the module could be unloaded without cancelling the pending re-init. When the timer expired in that situation, this lead to a crash. This patch fixes the problem by keeping a reference when the module is scheduled to be re-initialized. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/705>
* tunnel modules: Fix threading issuesGeorg Chini2022-05-253-39/+23
| | | | | | | | The old tunnel modules switched wrongly between main thread and I/O-thread while the new tunnel modules sent unnecessary messages to the main thread. This patch fixes the issues. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/705>
* bluetooth: Demote "No such property 'Volume'" error to warningMarijn Suijten2022-05-231-4/+13
| | | | | | | | | | | The AVRCP service is known to not be connected before the A2DP transport is, resulting in PulseAudio asking BlueZ for an initial 'Volume' value but not getting it because the property doesn't exist. To prevent end-users from conjecturing this to be the source of whatever issue they're observing, demote it to a warning. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/707>
* Update NEWS for 16.0Dylan Van Assche2022-05-221-0/+26
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/694>
* module-tunnel: Initialize `auto` param default value to falseIgor V. Kovalenko2022-05-171-0/+1
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/704>
* time-smoother-2: Fix integer type problemGeorg Chini2022-05-173-4/+4
| | | | | | | | The byte_count argument of pa_smoother_2_get_delay() was defined as size_t which lead to overflow problems on 32-bit architectures. Changed type to uint_64. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/700>
* i18n: Update .pot and .po filesTanu Kaskinen2022-05-1652-4734/+4876
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Translated using Weblate (Russian)Sergey A2022-05-161-93/+88
| | | | | | | | Currently translated at 99.1% (567 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Translated using Weblate (Russian)Sergey A2022-05-161-7/+4
| | | | | | | | Currently translated at 97.7% (559 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Translated using Weblate (Russian)Alexey Rubtsov2022-05-161-5/+5
| | | | | | | | Currently translated at 97.7% (559 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ru/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Added translation using Weblate (Georgian)Temuri Doghonadze2022-05-162-0/+2899
| | | | Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Translated using Weblate (Croatian)Gogo Gogsi2022-05-161-5/+5
| | | | | | | | 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/703>
* Translated using Weblate (Japanese)Takuro Onoue2022-05-161-7/+8
| | | | | | | | Currently translated at 84.2% (482 of 572 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/ja/ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/703>
* Translated using Weblate (Finnish)Jan Kuparinen2022-05-161-4/+3
| | | | | | | | 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/703>
* Translated using Weblate (Norwegian Nynorsk)Karl Ove Hufthammer2022-05-161-4/+3
| | | | | | | | 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/703>
* Translated using Weblate (Korean)simmon2022-05-161-3/+3
| | | | | | | | 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/703>
* Translated using Weblate (Korean)simmon2022-05-161-2/+2
| | | | | | | | 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/703>
* Translated using Weblate (Croatian)Gogo Gogsi2022-05-161-5/+4
| | | | | | | | 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/703>
* Translated using Weblate (Korean)Sungjoon Moon2022-05-161-25/+25
| | | | | | | | 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/703>
* module-tunnel-sink/source-new: Add PA_STREAM_ADJUST_LATENCY flag at stream ↵Georg Chini2022-05-162-2/+2
| | | | | | | | creation Without the flag, the latency on the remote server will not be configured correctly. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/699>
* module-tunnel: restart moduleCraig Howard2022-05-162-183/+360
| | | | | | | Defer the creation of the source/sink until after the TCP connection has been established. Upon protocol errors, try restarting the module. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
* tunnel-source-new: add restart/reconnect logicCraig Howard2022-05-162-90/+234
| | | | | | | | Applies the same changes as to tunnel-sink-new: defer the source creation until after the TCP connection is restablished, then attempt to restart the module on failure. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
* tunnel-sink-new: reinit moduleCraig Howard2022-05-164-9/+187
| | | | | | | | | When configured, reinitialize the module instead of exiting. This allows a restart/reconnect, but the module to appear to always be alive when the user does: "pactl list modules". (The sink will still not exist until the tcp connection is established.) Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
* tunnel-sink-new: create sink *after* connectionCraig Howard2022-05-161-65/+133
| | | | | | | | | The io thread, after connection, sends a message asking for a sink to be created. After the ctl thread is done with creation, it sends a message back to the io thread so it can continue. This ensures that the sink only exists when it's connected to something. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
* tunnel-sink-new: refactor sink creationCraig Howard2022-05-161-37/+67
| | | | | | | | Move the sink creation logic to its own function. This is in preparation for sinks being created async. Store the relevant config parameters in userdata, so create_sink() can access that data. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
* pactl: fix invalid JSON output by overriding LC_NUMERICOlivier Gayot2022-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* pa-info: Handle configuration files from .d directoriesIgor V. Kovalenko2022-05-161-0/+10
| | | | | | 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>