summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
...
* build-sys: Replace dummy Makefiles with proper Makefile.am'sColin Guthrie2010-12-052-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to better support out of tree builds (including distcheck) and to ensure the necessary folders are created in the build tree on configure and also works around an intl-tools bug (https://bugs.launchpad.net/intltool/+bug/605826) The Makefile.am's used are minimal (and in some cases completely blank). At present they do not include anything interesting with the majority of the real work still done by the monolitic src/Makefile.am It may make sense to start splitting out src/Makefile.am into smaller chunks but this commit makes the minimum changes to address the issues that result from using make distcheck and other out of tree builds. Note: This 'breaks' the ability to type make in e.g. the src/modules folder and have all of PA rebuilt accordingly (this is because the static Makefiles previously present just did a "make -C ..") which was purportedly for use in emacs. But I'm sure there will be a better and more robust way to configure emacs to do your builds properly if this behaviour is still desirable.
* bluetooth: make use of dbus-util helper functionsLuiz Augusto von Dentz2010-10-201-66/+6
|
* bluetooth: Add support for Media APILuiz Augusto von Dentz2010-10-074-72/+1109
| | | | Make use of D-Bus to transfer file descriptors.
* thread: name all threads so that the names appear in /proc/$PID/task/$TID/commLennart Poettering2010-05-071-1/+1
|
* bluetooth: add HFP Gateway supportJoão Paulo Rechi Vita2010-02-214-20/+72
| | | | | | | | Create the 'Handsfree Gateway' profile for bluetooth cards and add filters for 'org.bluez.HandsfreeGateway' to the discover module so module-bluetooth-device is loaded with the correct profile when a Handsfree Gateway connects to bluetoothd (in this case bluetoothd is acting as the headset).
* bluetooth: improve dbus loggingJoão Paulo Rechi Vita2010-02-211-2/+3
|
* bluetooth: fix invalid memory accessLennart Poettering2010-02-091-1/+7
| | | | | | | | When an GetProperties() reply arrives after we already deleted the device structure for it make sure we don't accidentaly touch the invalidated object. https://bugzilla.redhat.com/show_bug.cgi?id=543205
* bluetooth: don't hit an assert if latency is queried for a stooped recording ↵Lennart Poettering2010-02-091-3/+7
| | | | | | stream https://bugzilla.redhat.com/show_bug.cgi?id=537422
* bluetooth: destruct stream only if it is not already destructedLennart Poettering2010-02-091-13/+15
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=551842
* dbus: remove filter functions only if they were actually set beforeLennart Poettering2010-02-093-8/+15
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* bluetooth: do not hand out access to devices that are not fully configured yetLennart Poettering2009-10-311-2/+8
|
* bluetooth: don't set auto_connect flag when discovering bt devicesLennart Poettering2009-10-042-3/+12
|
* blueooth: actually honour 'room' variable (llvm-clang-analyzer)Lennart Poettering2009-09-081-3/+6
|
* bluetooth: remove left-over debug lineLennart Poettering2009-08-281-1/+0
|
* Handle DisconnectRequested in bluetooth module.Luiz Augusto von Dentz2009-08-271-0/+17
|
* bluetooth: add discover of bluetooth sourcesJoão Paulo Rechi Vita2009-08-233-10/+31
|
* bluetooth: handle bluetooth sourceJoão Paulo Rechi Vita2009-08-231-13/+168
|
* udev: allow passing of ignore_dB= parameter to alsa modulesLennart Poettering2009-08-191-2/+2
|
* source: rework volume handlingLennart Poettering2009-08-191-2/+2
| | | | | | | | | | | | | - drop the 'virtual_' prefix from s->virtual_volume since we don't distuingish between reference and real volumes for sources - introduce an accuracy for source volumes: if the hardware can control the volume "close enough" don't necessarily adjust the rest in software unless it is beyond a certain threshold. This should save a little bit of CPU at the expensive of a bit of accuracy in volume handling. - other minor cleanups
* bluetooth: fix match syntaxLennart Poettering2009-08-171-2/+2
|
* bluetooth: make NameOwnerChanged filter matches more focussedLennart Poettering2009-08-171-2/+2
|
* bluetooth: move installation of mq's earlier to avoid context asserts to be ↵Lennart Poettering2009-08-161-2/+2
| | | | triggered
* bluetooth: ask first for Headset and AudioSink properties, followed by AudioLennart Poettering2009-08-151-4/+4
|
* bluetooth: recognize only those BT devices that implement both the Audio and ↵Lennart Poettering2009-08-151-3/+3
| | | | either AudioSink or Headset interfaces
* bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally ↵Lennart Poettering2009-08-151-2/+1
| | | | call that _MAX anyway
* bluetooth: fix typo with service_{read,write}_typeMarc-André Lureau2009-08-151-2/+4
|
* bluetooth: don't call pa_sink_render with 0 bytes requestMarc-André Lureau2009-08-151-7/+10
|
* core: make fixed latency dynamically changeableLennart Poettering2009-08-151-2/+2
| | | | | | | | | | | | | This of course makes the name 'fixed' a bit of a misnomer. However the definitions are now like this: fixed latency: the latency may change during runtime, but is solely controlled by the backend, the client has no influence. dynamic latency: the latency may change during runtime, influenced by the requests of the clients. i.e. fixed vs. dynamic is from the perspective of the client.
* core: save volume/mute changes coming from the hardware automaticallyLennart Poettering2009-08-071-2/+2
| | | | | Volume changes coming from the lower layers are most likely changes triggered by the user, so let's save them automatically.
* bluetooth: don't connect on unconnected profileMarc-André Lureau2009-07-011-0/+9
|
* bluetooth: warn on EAGAIN after POLLOUTMarc-André Lureau2009-07-011-0/+3
|
* bluetooth: don't busy loop when device is not writable but we want to writeLennart Poettering2009-07-011-1/+1
|
* bluetooth: handle absence of bluez D-Bus service properlyLennart Poettering2009-07-011-11/+66
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-13/+14
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-201-4/+5
| |
| * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-191-9/+9
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-1/+0
|/ | | | finally fixed for granularity
* bluetooth: return sensible error code in set_profile()Lennart Poettering2009-06-171-3/+3
|
* alsa: rework mixer logicLennart Poettering2009-06-172-6/+6
| | | | | | | | | | | | Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
* prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES propertyLennart Poettering2009-06-081-0/+4
|
* modules: add {sink|source|card}_properties argument to all modulesLennart Poettering2009-05-281-3/+31
|
* bluetooth-device: Add safe guard against BT streaming irregularities.Jyri Sarha2009-05-081-3/+27
| | | | | | | | | Some bad quality BT-headsets block bluez socket sometimes for hundreds of milliseconds, especially when changing mode. When the module tries catch up the lost time it may SBC encode up to half a second of audio without yielding. On slow machine this may cause maximum RT time slice to be exceeded. Cleaned out the minor fix that slipped into first version of the patch.
* core: introduce pa_{sink,source}_set_fixed_latency()Lennart Poettering2009-05-081-6/+6
| | | | | This allows us to forward the fixed latency directly from the sink to the monitor source withut having to wait for pa_sink_put().
* bluetoth-device: be less strict on CONNECTED state to switch profileMarc-André Lureau2009-04-171-2/+7
|
* bluetooth: when starting up HSP stream, send 2 packets first, only ↵Lennart Poettering2009-04-101-0/+6
| | | | afterwards enter one-read-one-write logic
* bluetooth: rework timing logic, properly implement latency callbacksLennart Poettering2009-04-101-41/+134
|
* bluetooth: be a bit more verbose if we exit due to bad poll() revents flagLennart Poettering2009-04-101-1/+5
|
* bluetooth: rename sco to hsp also for the userLennart Poettering2009-04-101-3/+3
|
* bluetooth: memory leak, actually free discovery struct itselfLennart Poettering2009-04-101-0/+2
|
* bluetooth: make sure to set max_requestLennart Poettering2009-04-081-2/+30
|