summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bluetooth: Create pa_bluetooth_discovery for BlueZ 5bluez5João Paulo Rechi Vita2013-08-164-1/+148
| | | | | | | | 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.
* bluetooth: Create stub for module-bluez5-discoverJoão Paulo Rechi Vita2013-08-162-0/+55
|
* build: Add support for enabling/disabling BlueZ 5 supportJoão Paulo Rechi Vita2013-08-161-3/+17
|
* build: Make the build of bluetooth modules BlueZ 4 specificJoão Paulo Rechi Vita2013-08-162-19/+22
|
* bluetooth: Remove module-bluetooth-proximityJoão Paulo Rechi Vita2013-08-166-715/+10
| | | | | | | | | | | 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.
* bluetooth: Prefix BlueZ 4 card profiles enum with PA_BLUEZ4_João Paulo Rechi Vita2013-08-163-99/+99
| | | | Also typedef the enum as pa_bluez4_profile_t.
* bluetooth: Register BlueZ 4 endpoints in a separate object pathJoão Paulo Rechi Vita2013-08-151-22/+22
| | | | | 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.
* bluetooth: Name BlueZ 4 symbols accordinglyJoão Paulo Rechi Vita2013-08-154-304/+304
| | | | | | | | | | | | | | | | 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*
* bluetooth: Rename shared struct to make it BlueZ 4 specificJoão Paulo Rechi Vita2013-08-151-3/+3
|
* bluetooth: Rename bluetooth modules to BlueZ 4João Paulo Rechi Vita2013-08-155-31/+30
|
* bluetooth: Update modules description and copyrightJoão Paulo Rechi Vita2013-08-154-9/+9
| | | | | | | | | | | 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.
* Revert "bluetooth: Detect BlueZ 5"João Paulo Rechi Vita2013-08-151-50/+2
| | | | | | | | 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.
* Revert "bluetooth: Parse the tree returned by ObjectManager"João Paulo Rechi Vita2013-08-151-119/+6
| | | | | | | | 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.
* Revert "bluetooth: Fix error checking style"João Paulo Rechi Vita2013-08-151-1/+1
| | | | | | | | 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.
* Revert "bluetooth: BlueZ 5 interface rename to org.bluez.MediaEndpoint1"João Paulo Rechi Vita2013-08-151-37/+14
| | | | | | | | 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.
* Revert "bluetooth: BlueZ 5 interface rename to org.bluez.Media1"João Paulo Rechi Vita2013-08-151-3/+3
| | | | | | | | 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.
* Revert "bluetooth: BlueZ 5 interface rename to org.bluez.MediaTransport1"João Paulo Rechi Vita2013-08-151-9/+3
| | | | | | | | 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.
* Revert "bluetooth: Support ObjectManager interface add/remove"João Paulo Rechi Vita2013-08-151-60/+0
| | | | | | | | 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.
* Revert "bluetooth: Support Properties.PropertiesChanged signal"João Paulo Rechi Vita2013-08-151-33/+0
| | | | | | | | 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.
* Revert "bluetooth: Parse media transport's properties"João Paulo Rechi Vita2013-08-151-29/+0
| | | | | | | | 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.
* Revert "bluetooth: Support media transport's State property"João Paulo Rechi Vita2013-08-151-41/+1
| | | | | | | | 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.
* Revert "bluetooth: Update to new BlueZ 5 transport acquire/release API"João Paulo Rechi Vita2013-08-152-42/+32
| | | | | | | | 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.
* Revert "bluetooth: Support transport auto-release"João Paulo Rechi Vita2013-08-151-6/+0
| | | | | | | | 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.
* bash-completion: Fix device completion for pacatpoljar (Damir Jelić)2013-08-151-2/+2
| | | | | | | | 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
* pacat: Added support for recording from one specific sink inputMagnus Ekhall2013-08-142-3/+24
| | | | BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=66326
* sink-input: Don't assert when removing non-existent volume factorArun Raghavan2013-08-082-3/+11
| | | | | | | | 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.
* alsa: Trivial whitespace deletionArun Raghavan2013-08-081-2/+2
|
* doc: Update LICENSE to reflect optional libpulse dep on libdbusArun Raghavan2013-08-071-0/+7
|
* thread-mq: Support a mainloop as thread/consumerAlexander Couzens2013-08-062-13/+68
| | | | | | | 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>
* i18n: Update zh_TW translationCheng-Chia Tseng2013-08-061-218/+500
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=56454
* cli: Use pa_xnew0 to save some 0 initsPeter Meerwald2013-08-021-10/+1
| | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
* pacmd: Discriminate between interactive and non-interactive modePeter Meerwald2013-08-021-2/+9
| | | | | | | | | | | | | 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>
* cli: Output prompt and welcome message only when requested by 'hello'Peter Meerwald2013-08-021-3/+10
| | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
* alsa-mixer: Prefer moving "Capture" before moving boostsDavid Henningsson2013-08-028-50/+48
| | | | | | | | | | | | | | | | | | 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>
* sample: Apply SPARC-specific condition on SPARC onlyArun Raghavan2013-08-021-1/+1
| | | | Improves correctness, unbreaks software volume in recent Android.
* Fix typos in command_namesKerrick Staley2013-07-311-3/+3
|
* resampler: Fix peaks resampler's channel handlingTanu Kaskinen2013-07-291-2/+2
| | | | | In the resampling phase the input and output data have the same number of channels (o_ss.channels).
* loopback: Increase the maximum allowed latencyTanu Kaskinen2013-07-291-1/+1
| | | | | | | 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.
* alsa-ucm: Make combination ports have lower priorityDavid Henningsson2013-07-261-2/+13
| | | | | | | | | | | | 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>
* daemon.conf: Document new speex-float-1 defaultDavid Henningsson2013-07-231-1/+1
| | | | | | | 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>
* vala: Add CVolume.set()Tanu Kaskinen2013-07-181-0/+3
| | | | Thanks to Alberto Ruiz for the patch.
* dbus: Fix invalid dbus_bool_t valuesTanu Kaskinen2013-07-171-26/+26
| | | | | libdbus doesn't like it if it's passed a boolean whose value is not 0 nor 1.
* sink: Add missing curly bracesTanu Kaskinen2013-07-161-1/+2
| | | | | | 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.
* pactl: Print available flag of card profilesLuiz Augusto von Dentz2013-07-151-1/+2
|
* introspect: Expose card profile available flagLuiz Augusto von Dentz2013-07-155-16/+37
| | | | | | | Available flag can be used by clients to disable the selection of profiles unavailable. Update protocol to 29
* ucm: Fix an incorrect log messageTanu Kaskinen2013-07-151-1/+1
| | | | | | | 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.
* log: Harmonize log target outputTanu Kaskinen2013-07-151-2/+15
| | | | | The file targets used different output format than stderr and syslog. That's now fixed.
* log: Use pa_write() instead of write()Tanu Kaskinen2013-07-151-1/+2
|
* log: Remove pa_log_set_fd()Tanu Kaskinen2013-07-152-14/+0
| | | | The function isn't used any more.
* build-sys: Fix misuse of "dependant"João Paulo Rechi Vita2013-07-151-2/+2
| | | | | | | 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.