summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* white space change to Bug.mdbug-template-001Russell Treleaven2019-08-191-1/+1
|
* po: update Ukrainian translationYuri Chornoivan2019-08-191-42/+63
|
* Update Bug.md to encourage users to attach pa-info output to bug reportspatch-1Russell Treleaven2019-08-181-8/+5
|
* build-sys: meson: Give ourselves a little more timeout headroomArun Raghavan2019-08-171-1/+1
| | | | | | We're seeing CI failures due to once-test sometimes taking long. Let's give ourselves a little more space per test (2 min -> 5 min) to avoid this.
* raop: Fix infinite loop in raop-sink with UDP modeRODRIGUEZ Christophe2019-08-171-1/+5
| | | | | | | There are potentially unresolved issues around the EAGAIN logic, but this should prevent an infinite loop and log flood in the mean time. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/695
* build-sys: meson: Add a bunch of missing checksArun Raghavan2019-08-151-0/+10
|
* build-sys: meson: Add mkfifo checks for module-pipe-*Arun Raghavan2019-08-152-2/+8
|
* build-sys: meson: Add some missing declaration checksArun Raghavan2019-08-151-0/+14
|
* build-sys: meson: Add a check for fast 64-bit operationsArun Raghavan2019-08-151-0/+4
|
* build-sys: meson: Add ARMv6 instruction checkArun Raghavan2019-08-151-0/+24
|
* build-sys: meson: Add atomic ops related checksArun Raghavan2019-08-157-8/+61
|
* meson: add stdint.h to checked headersLucas Stach2019-08-141-0/+1
| | | | | | Without this check we won't ever define HAVE_STDINT_H, which isn't used in pulse directly, but is needed by e.g. the speex headers to work correctly.
* meson: allow to build bluez support without libbluetoothLucas Stach2019-08-143-5/+4
| | | | | | | | | | pulseaudio does not link against libbluetooth, as it's only talking to the bluez daemon over dbus. So the build dependency on libbluetooth is overly restrictive, as some embedded systems choose to ship without libbluetooth but still have bluez daemon support. This syncs the meson to the autotools configuration behavior by changing the bluez option to a default on boolean.
* meson: fix build files list when building with NEONLucas Stach2019-08-141-1/+1
| | | | | Sync the meson NEON build files list with the autotools build sources list. Fixes "ERROR: File svolume_neon.c does not exist."
* build-sys: meson: Fix 2 cases of joining paths w/o join_pathsJan Alexander Steffens (heftig)2019-08-131-2/+2
| | | | Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/712
* bootstrap.sh: don't set sysconfdir and localstatedir configure optionsTanu Kaskinen2019-08-131-1/+1
| | | | | | | I don't know why these options were being passed to configure (--sysconfdir has been there from the very beginning, --localstatedir got added when the system mode was added). Overwriting system files by default is not good, so let's not set these options.
* build-sys: meson: Add some missing checksJan Alexander Steffens (heftig)2019-08-096-8/+65
| | | | | | - Header and function checks from configure.ac (some libc, some libpthread, dladdr from libdl) - Find iconv and check constness
* add script to collect information for bug reportsRussell Treleaven2019-08-093-1/+83
|
* l10n: Update Italian translationMilo Casagrande2019-08-071-36/+36
| | | | | | | * Fixed typo. * Fixed use of double quotes. Signed-off-by: Milo Casagrande <milo@milo.name>
* build-sys: autotools: Add meson build files to EXTRA_DISTv12.99.2Arun Raghavan2019-08-061-1/+25
| | | | | As we currently still generate our tarballs using autotools, let's make sure the meson build system is distributed with the tarball.
* build-sys: Move svolume-*.c to libpulsecoreArun Raghavan2019-08-053-5/+6
| | | | | | The various software volume implementations were being built as part of libpulsecommon for some reason. These should only ever be used in the daemon, so they should be in libpulsecore.
* build-sys: meson: Fix minor typo in orc buildArun Raghavan2019-08-051-1/+1
|
* build-sys: meson: Add symbol versioning as in autotoolsArun Raghavan2019-08-051-3/+5
| | | | | Adds the -version-script linker argument that we use with autotools to version symbols in our public API.
* build-sys: meson: Fix some defines for default.pa generationArun Raghavan2019-08-051-0/+3
| | | | | | | | Removes a warning from HAVE_GCONF not being set, and fixes generation of a large section that depends on OS_IS_WIN32 being explicitly set to 0. We can't set OS_IS_WIN32 to 0 by default since a bunch of code uses it via an ifdef rather than by value.
* build-sys: meson: Correctly set up RPATHArun Raghavan2019-08-0512-0/+35
| | | | | | 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.
* build-sys: meson: Add -Wl,no-delete to relevant librariesArun Raghavan2019-08-0511-4/+24
| | | | This mirrors the autotools option for all server-side dynamic libraries.
* Fixes to Catalan translationJordi Mas2019-07-281-27/+27
|
* meson: Fix installation of headersJan Alexander Steffens (heftig)2019-07-251-3/+9
| | | | | | To match Autotools: - internal.h should not be installed - Install simple.h and version.h
* meson: Fix library versioning to match AutotoolsJan Alexander Steffens (heftig)2019-07-252-16/+30
| | | | | | For ease of maintaining both build systems, use the same version info sequences as configure.ac. This should be simplified after Autotools has been dropped.
* meson: Fix build of padspJan Alexander Steffens (heftig)2019-07-253-8/+19
| | | | | | | | | | - 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.
* bluetooth: Fix usage of RTP structures in SBC codecPali Rohár2019-07-242-35/+58
| | | | | | | | | | | | | Rename struct rtp_payload to rtp_sbc_payload as it is specific for SBC codec payload. Add proper checks for endianity in rtp.h header and use uint8_t type where appropriated. Field frame_count is only 4 bit number, so add checks to prevent overflow. And because is_fragmented field is not parsed by decoder there is no support for decoding fragmented SBC frames. So throw an error in this case.
* bluetooth: Change A2DP codec API of reset() method to indicate failurePali Rohár2019-07-243-10/+18
| | | | SBC codec reset() method may fail, so propagate this failure to caller.
* bluetooth: Fix usage of MTU, buffer sizes and return values of encode/decode ↵Pali Rohár2019-07-243-31/+67
| | | | | | | | | | | | | | | | | | | methods Add explanation why minimal bitpool value is used in SBC codec as initial bitpool value for A2DP source. Set buffer size for reading/writing from/to A2DP socket to exact link MTU value. This would ensure that A2DP codec does not produce larger packet as maximal possible size which can be sent. Because A2DP socket is of SOCK_SEQPACKET type, it is guaranteed that we do not read two packets via one read/recvmsg call. Properly check for all return values of encode/encode methods of A2DP codec functions. They may fail at different levels. Also encode or decode API method may return zero length buffer (e.g. because of algorithmic delay of codec), so do not fail in this case.
* Commit fd9e3452 removed -ffast-math from the compile flags. Under someGeorg Chini2019-07-232-2/+3
| | | | | | | | | | | | | conditions this may lead to massive slowdown of floating point operations when underflows or denormals are encountered. In particular, this problem was observed with the soxr resampler after applying https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/120 Therefore this patch adds -ffast-math to the link flags of the pulseaudio daemon. Linking with -ffast-math adds a procedure set_fast_math() to the startup code of the daemon. On x86, the procedure sets bit 6 and 15 of the mxcsr register. When these bits are set, denormals and results of underflowing operations are truncated to 0.
* i18n: update Polish translationPiotr Drąg2019-07-201-29/+33
|
* pasuspender: explain program argument in helpS Page2019-07-161-1/+2
| | | | Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/706
* svolume: Mark channel parameter as earlyclobberArun Raghavan2019-07-152-4/+4
| | | | | | | | | | | | | | For all our MMX/SSE code, we use a temporary channel variable, assigned to the DI register, which is zero'ed as the very first operation in the inline assembly code, before any other code is run. With GCC 9.1, while using -O2, the DI register is also used for the input operand. This is perfectly legal, but causes our code to become incorrect because the output operand that is assigned to DI is not explicitly marked as being clobbered before inputs are read. This change fixes the problem by adding an earlyclobber annotation (&) to the DI output argument.
* alsa-mixer: Add a missing USB product ID for SteelSeries Arctis 7Kaleb Ercanbrack2019-07-111-0/+1
|
* build-sys: Install cmedia-high-speed-true-hdaudio.confJan Alexander Steffens (heftig)2019-07-111-1/+2
| | | | This profile set was missing from the installation.
* build-sys: meson: Disable coverage by defaultArun Raghavan2019-07-111-1/+1
|
* build-sys: Fixes for i18n parts of the meson buildv12.99.1Arun Raghavan2019-07-051-0/+4
|
* build-sys: Bump libpulse soversionArun Raghavan2019-07-041-1/+1
| | | | | | We've added new API and updated an enum. A bunch of function parameters have been marked as const, but this probably shouldn't count as a change anyway.
* core-util: Fix detection when running in a VMArun Raghavan2019-07-041-20/+6
| | | | | | | | | The original code that was written was trying to detect what hypervisor we were running under, rather than testing the presence bit first. We don't really need the former, so let's use the more comprehensive latter instead. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/684
* sink-input: fix rewriting render memblockq when nothing should be rewoundGeorg Chini2019-07-031-1/+3
| | | | | | | | If process_rewind() is called with nbytes = 0, process_rewind() will nevertheless request a rewrite of the render memblockq. This patch fixes the problem by adding the render memblockq length to the rewrite amount only if nbytes > 0.
* source-output: Fix rewinding bugGeorg Chini2019-07-031-1/+1
| | | | | | | | | Currently the rewind logic for the source output is broken if the output does not implement a process_rewind() callback. In that case, the read index of the delay memblockq is rewound. This is wrong, because the data that is going to be re-written was not yet read. Instead the write index should be rewound and the read index left untouched. This is the reason for the rewind glitches of monitor sources.
* bluetooth: Fix crash when disabling Bluetooth adapterFrédéric Danis2019-07-023-0/+21
| | | | | | | | | | | | | | | This crash occurs when PA is connected to a phone through the oFono backend. When disabling the Bluetooth adapter, pa_bluetooth_device is removed before hf_audio_card. Both keep refs on pa_bluetooth_transport. Those removal will call pa_bluetooth_transport_free() from device_free() (bluez5-util.c) and hf_audio_card_free() (backend-ofono.c). In the end, the call to pa_bluetooth_transport_free() calls pa_hasmap_remove() through pa_bluetooth_transport_unlink(), but since memory has already been freed, the second try results in a segfault. Triggering hf_audio_card removal during pa_bluetooth_device removal allows hf_audio_card to be freed at the right time.
* bluetooth: Fix crash in setup_stream()Frédéric Danis2019-07-021-2/+24
| | | | | | | | | | | | | | | | | | | | | | setup_stream() crashes when calling set_nonblock() with an invalid stream_fd. On a new call, the ofono backend gets notified of a new connection. The ofono backend sets the transport state to playing, and that triggers a profile change, which sets up the stream for the first time. Then module-bluetooth-policy sets up the loopbacks. The loopbacks get fully initialized before the crash. After module-bluetooth-policy has done its things, the execution continues in the transport state change hook. The next hook user is module-bluez5-device, whose handle_transport_state_change() function gets called. It will then set up the stream again even though it's already set up. I'm not sure if that's a some kind of a bug. setup_stream() can handle the case where it's unnecessarily called, though, so this second setup is not a big problem. The crash happens, because the connection died due to POLLHUP in the IO thread before the second setup_stream() call.
* core-util: Use /proc/fd on Solaris as well in pa_close_allAlan Coopersmith2019-07-011-1/+1
| | | | | | Gets rid of > 65,000 unnecessary close() syscalls Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* meson: check for sys/filio.hAlan Coopersmith2019-07-011-0/+1
| | | | | | Needed for FIONREAD on Solaris Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* meson: fix builds on platorms without libsystemdAlan Coopersmith2019-07-011-4/+4
| | | | | | | Without this, meson on Solaris exits with: src/daemon/meson.build:138:15: ERROR: Unknown variable "systemd_dep". Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>