Commit graph

9409 commits

Author SHA1 Message Date
Milo Casagrande
5c1d1a70b6 l10n: Update Italian translation
Signed-off-by: Milo Casagrande <milo@milo.name>
2019-09-19 09:58:16 +02:00
Tanu Kaskinen
200618b32f build-sys: Add missing files to release tarballs 2019-09-13 16:20:03 +03:00
Tanu Kaskinen
52dc0dadf6 update NEWS 2019-09-13 15:48:51 +03:00
Danny O'Brien
f508ad192e man: Add description of pactl special names. 2019-09-02 00:06:49 -07:00
Arun Raghavan
3fa0daee37 build-sys: Fix documentation of version info
The comment has been incorrect for a while now. Thanks to Jan Steffens
for pointing this out.
2019-09-02 04:31:53 +00:00
Moo
f68b180097 l10n: Update lt.po 2019-09-01 13:16:20 +00:00
Arun Raghavan
fb530e0f3b build-sys: Bump version info for libpulse
Minor implementation change since last release (we now load X11
properties only for SSH connections).
2019-09-01 13:05:10 +05:30
Rafael Fontenelle
56187cbf02 po: Update Brazilian Portuguese translation 2019-08-30 16:56:50 +00:00
Nicolas Fella
68f5bf86bc daemon: Drop KDE-specific loading of module-device-manager
Newer versions of Plasma no longer use this module, and the consensus
seems to be that module-switch-on-connect works better for most cases.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/509
2019-08-30 11:07:52 +00:00
Carlos Garnacho
79a8efb45c client-conf: Avoid loading X11 properties unless SSH_CONNECTION is set
Reading properties from the X11 root window is meant to provide 1:1 results
with reading the configuration directly in the local case. This configuration
is essentially different only in remote cases.

Add an extra check for the SSH_CONNECTION envvar, so we don't even need
opening a X11 display connection for IPC in the most usual case.
2019-08-27 08:27:16 +00:00
Russell Treleaven
b80b19e060 gitlab: white space change to Bug.md
Add a second whitespace at the end of the line to force a newline in the
output.
2019-08-27 09:00:02 +05:30
David Emett
b76f668253 dbus: fix ActiveProfile setting
Just like with handle_set_active_port, we need to look up the profile
corresponding to the provided path rather than doing a name comparison.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/709
2019-08-27 08:51:27 +05:30
Pali Rohár
bdf66c4693 bluetooth: Only perform write-related calculations when we have a sink
This avoids a potential divide-by-zero when we try to decide how much to
write to the sink in the source thread when there is no sink.

Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/717
2019-08-27 08:44:27 +05:30
Arun Raghavan
1172daf19b build-sys: meson: Process subdirectories before generating configuration
Subdirectories add to the top-level cdata (specifically, the SIMD
detection happens in the pulsecore meson.build), so we were missing
HAVE_MMX/SSE2/NEON defines without this fix.
2019-08-22 19:05:40 +05:30
Arun Raghavan
f515443fa0 build-sys: meson: Fixes for some ARM compiler checks 2019-08-22 19:05:40 +05:30
Yuri Chornoivan
d830c66613 po: update Ukrainian translation 2019-08-19 08:35:06 +00:00
Russell Treleaven
19dd84c221 Update Bug.md to encourage users to attach pa-info output to bug reports 2019-08-18 20:48:23 +00:00
Arun Raghavan
a7caa9d393 build-sys: meson: Give ourselves a little more timeout headroom
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.
2019-08-17 16:14:45 +05:30
RODRIGUEZ Christophe
2e7c0ee8f8 raop: Fix infinite loop in raop-sink with UDP mode
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
2019-08-17 10:43:20 +00:00
Arun Raghavan
27e72814d0 build-sys: meson: Add a bunch of missing checks 2019-08-15 18:57:13 +05:30
Arun Raghavan
0f1920f337 build-sys: meson: Add mkfifo checks for module-pipe-* 2019-08-15 18:57:13 +05:30
Arun Raghavan
2b0a33053c build-sys: meson: Add some missing declaration checks 2019-08-15 18:57:13 +05:30
Arun Raghavan
cd8dfee947 build-sys: meson: Add a check for fast 64-bit operations 2019-08-15 18:57:13 +05:30
Arun Raghavan
c90fa7f857 build-sys: meson: Add ARMv6 instruction check 2019-08-15 18:57:13 +05:30
Arun Raghavan
1e996445f7 build-sys: meson: Add atomic ops related checks 2019-08-15 18:57:13 +05:30
Lucas Stach
25308fe88f meson: add stdint.h to checked headers
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.
2019-08-14 10:16:34 +02:00
Lucas Stach
1911ef16e2 meson: allow to build bluez support without libbluetooth
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.
2019-08-14 10:16:34 +02:00
Lucas Stach
eb70672c56 meson: fix build files list when building with NEON
Sync the meson NEON build files list with the autotools build
sources list. Fixes "ERROR: File svolume_neon.c does not exist."
2019-08-14 10:16:34 +02:00
Jan Alexander Steffens (heftig)
728a4402eb
build-sys: meson: Fix 2 cases of joining paths w/o join_paths
Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/712
2019-08-13 22:10:44 +02:00
Tanu Kaskinen
57c9bf7902 bootstrap.sh: don't set sysconfdir and localstatedir configure options
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.
2019-08-13 16:49:31 +03:00
Jan Alexander Steffens (heftig)
493e7f3582
build-sys: meson: Add some missing checks
- Header and function checks from configure.ac
  (some libc, some libpthread, dladdr from libdl)
- Find iconv and check constness
2019-08-09 23:11:24 +02:00
Russell Treleaven
91fb54dab1 add script to collect information for bug reports 2019-08-09 12:31:48 +00:00
Milo Casagrande
72d528c50c l10n: Update Italian translation
* Fixed typo.
  * Fixed use of double quotes.

Signed-off-by: Milo Casagrande <milo@milo.name>
2019-08-07 11:55:11 +02:00
Arun Raghavan
09e6728f7b build-sys: autotools: Add meson build files to EXTRA_DIST
As we currently still generate our tarballs using autotools, let's make
sure the meson build system is distributed with the tarball.
2019-08-06 23:08:15 +05:30
Arun Raghavan
6a1addf35c build-sys: Move svolume-*.c to libpulsecore
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.
2019-08-05 14:19:27 +05:30
Arun Raghavan
f52baffeb5 build-sys: meson: Fix minor typo in orc build 2019-08-05 14:09:44 +05:30
Arun Raghavan
0d7e351fba build-sys: meson: Add symbol versioning as in autotools
Adds the -version-script linker argument that we use with autotools to
version symbols in our public API.
2019-08-05 10:40:25 +05:30
Arun Raghavan
34a8c3aa70 build-sys: meson: Fix some defines for default.pa generation
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.
2019-08-05 10:30:50 +05:30
Arun Raghavan
7f44a623e0 build-sys: meson: Correctly set up RPATH
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.
2019-08-05 09:52:32 +05:30
Arun Raghavan
f996ad0688 build-sys: meson: Add -Wl,no-delete to relevant libraries
This mirrors the autotools option for all server-side dynamic libraries.
2019-08-05 09:52:32 +05:30
Jordi Mas
d8927b0e53 Fixes to Catalan translation 2019-07-28 10:17:39 +00:00
Jan Alexander Steffens (heftig)
9f946d2d11 meson: Fix installation of headers
To match Autotools:
 - internal.h should not be installed
 - Install simple.h and version.h
2019-07-25 16:53:01 +00:00
Jan Alexander Steffens (heftig)
8e98ed9493 meson: Fix library versioning to match Autotools
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.
2019-07-25 16:53:01 +00:00
Jan Alexander Steffens (heftig)
09231eaead meson: Fix build of padsp
- 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.
2019-07-25 16:53:01 +00:00
Pali Rohár
9e70d05201 bluetooth: Fix usage of RTP structures in SBC codec
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.
2019-07-24 17:29:45 +03:00
Pali Rohár
064277b4ee bluetooth: Change A2DP codec API of reset() method to indicate failure
SBC codec reset() method may fail, so propagate this failure to caller.
2019-07-24 17:29:45 +03:00
Pali Rohár
018b38ec39 bluetooth: Fix usage of MTU, buffer sizes and return values of encode/decode 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.
2019-07-24 17:29:45 +03:00
Georg Chini
3929798a53 Commit fd9e3452 removed -ffast-math from the compile flags. Under some
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.
2019-07-23 20:48:23 +00:00
Piotr Drąg
e896fdc080 i18n: update Polish translation 2019-07-20 14:13:29 +02:00
S Page
6e392ae84f pasuspender: explain program argument in help
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/706
2019-07-16 06:23:50 +00:00