| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
pa_bluetooth_discovery is the struct that holds information about known
Bluetooth audio devices and other information about the Bluetooth stack.
This commit also creates bluez5-util.[ch], which will hold a lot of
utility functions to help with the BlueZ 5 support.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
module-bluetooth-proximity has not worked for quite a while, since it
uses pre-BlueZ4 APIs. Nobody complained since then, which is a good
indication that it doesn't have much users. Even the original commit
message refers to it more as a toy than as something of great use: "add
new fun module that automatically mutes your audio devices when you
leave with your bluetooth phone, and unmutes when you come back"
Removing it we completely remove the dependency on libbluetooth.
|
|
|
|
| |
Also typedef the enum as pa_bluez4_profile_t.
|
|
|
|
|
| |
We need diferent object paths for BlueZ 4 and BlueZ 5 endpoints to avoid
crashing the daemon in the case both modules are loaded in parallel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need diferent symbol prefixing for the current BlueZ 4 support and
the new BlueZ 5 support which is about to enter the codebase, to avoid
symbol clashing and crashing the daemon in the case both modules are
loaded at the same time.
This commit replaces all pa_bluetooth_ and pa_bt_ (for consistency)
prefixes with pa_bluez4_, for both lower-case and upper-case, what was
done with the following sed commands:
$ sed -i s/pa_bluetooth_/pa_bluez4_/g src/modules/bluetooth/*bluez4*
$ sed -i s/PA_BLUETOOTH_/PA_BLUEZ4_/g src/modules/bluetooth/*bluez4*
$ sed -i s/pa_bt_/pa_bluez4_/g src/modules/bluetooth/*bluez4*
$ sed -i s/PA_BT_/PA_BLUEZ4_/g src/modules/bluetooth/*bluez4*
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The current set of bluetooth modules only support up to BlueZ 4. Since
the BlueZ API when through a big change with the release of BlueZ 5 the
modules will be forked into a new set for BlueZ 5.
This commit also fixes the spelling of Bluetooth (it's a trademark which
should always be spelled with capital B) and the spelling of my name,
and also update the copyright note dates throughout the Bluetooth
modules.
|
|
|
|
|
|
|
|
| |
This reverts commit 2247b187393ef68879162faee8b422da9f5e556f.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit c4bd51a34547ed0991ff3c7219c2d5de49669ca8.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit d9ed42c40f744b273c8d466e95dd4a06e41364b9.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit d22ea7ff7630bef83a3bf8c26cc56c196dec33a1.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 61e8fd8854308cb2d41e6313f25ae7131c912ea8.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit cfb96b2530690df113e1aceb5b82fc166f9d2cfd.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 114edb0696ce979ad10f5616067afda1b76ae4e2.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 235611a7d13ab251689f5b480183d7f39e043a2e.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 2f79fb580ad583b2492b567d32630e7e03883855.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 6fdf2b05b8867d4597c497243b469ecd0d8c2426.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 9615def4b96f0bab365ddc03f6c003f382a54752.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
This reverts commit 0e4c16e120f95b122c7139deb046192927d1b6c7.
This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
|
|
|
|
|
|
|
|
| |
The Bash shell completion for pacat --device combines the name of the
last sink and the name of the first source. This patch fixes that by
adding a whitespace separator in the list of devices.
Buglink: https://bugs.freedesktop.org/show_bug.cgi?id=68106
|
|
|
|
| |
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=66326
|
|
|
|
|
|
|
|
| |
This makes it easier for users of this API to add/updated a volume
factor by doing a _remove_volume_factor() followed by an
add_volume_factor(), rather than having to either remember whether this
is the first set operation or have an API to query whether a factor has
already been set.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is needed by the tunnel module rewrite, which runs pa_mainloop in
the IO thread instead of pa_rtpoll.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=56454
|
|
|
|
| |
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interactive sessions are initiated with a hello message in order to
receive a welcome message from the PA daemon and a command prompt
interactive sessions have a terminal connected to stdin
non-interactive sessions execute commands given on the command line
or received via stdin; non-interactive sessions have neither welcome
message nor command prompt
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
|
|
|
|
| |
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some HD-audio codecs (at least ALC269VB and ALC283) become quite noisy on
high Mic Boost levels. So e g, if there is a "Mic Boost" and a "Capture"
control, both ranging from 0 dB to +30 dB, you get better quality if
"Mic Boost" is 0 dB and "Capture" is +30 dB, than the other way around.
By changing the order in the configuration files, this patch makes us prefer
leaving "Mic Boost" low and "Capture" high if the user selects a medium gain.
(This is based on limited experience, and there is no guarantee that there are
no sound cards that work the other way around, and therefore this patch could
potentially regress quality on those machines. Hopefully those are fewer, so
this is what we should default to.)
BugLink: https://bugs.launchpad.net/1085402
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
|
|
| |
Improves correctness, unbreaks software volume in recent Android.
|
| |
|
|
|
|
|
| |
In the resampling phase the input and output data have the same number
of channels (o_ss.channels).
|
|
|
|
|
|
|
| |
Currently the biggest possible sink latency is 10 seconds. The total
latency of the loopback is divided evenly for the source, an
intermediate buffer and the sink, so if I want to test 10 s sink
latency, the total needs to be three times that, i.e. 30 seconds.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usually, you want to use one input or output at a time: e g,
you expect your speaker to mute when you plug in headphones.
Therefore, the headphones+speaker port should have lower priority
and both headphones and speaker.
A practical formula to do this is 1/x = 1/xa + 1/xb + .. + 1/xn.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
|
|
|
|
|
| |
We document the default values in daemon.conf, but this was not
updated when we changed the default from speex-float-3 to speex-float-1.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
|
|
| |
Thanks to Alberto Ruiz for the patch.
|
|
|
|
|
| |
libdbus doesn't like it if it's passed a boolean whose value is not 0
nor 1.
|
|
|
|
|
|
| |
The missing braces didn't cause any practical problems, but obviously
the intention was to reset the chunk only if the memblock was
non-NULL.
|
| |
|
|
|
|
|
|
|
| |
Available flag can be used by clients to disable the selection of
profiles unavailable.
Update protocol to 29
|
|
|
|
|
|
|
| |
The log message didn't match the code, so one of them was wrong. It's
entirely possible that the code is wrong, but I didn't have the
motivation to study the code enough to understand what the code is
supposed to do.
|
|
|
|
|
| |
The file targets used different output format than stderr and syslog.
That's now fixed.
|
| |
|
|
|
|
| |
The function isn't used any more.
|
|
|
|
|
|
|
| |
Dependant in British English is a person who is financially supported by
someone else. To express software dependency relations "dependent"
should be used instead, which is correct for both British and US
English.
|