summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/module-bluetooth-device.c
Commit message (Collapse)AuthorAgeFilesLines
* bluetooth: Fix a2dp processingMaarten Lankhorst2010-12-121-1/+1
|
* bluetooth: Add support for Media APILuiz Augusto von Dentz2010-10-071-59/+402
| | | | 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-211-13/+37
| | | | | | | | 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: 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-091-1/+6
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* bluetooth: don't set auto_connect flag when discovering bt devicesLennart Poettering2009-10-041-2/+11
|
* blueooth: actually honour 'room' variable (llvm-clang-analyzer)Lennart Poettering2009-09-081-3/+6
|
* 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: move installation of mq's earlier to avoid context asserts to be ↵Lennart Poettering2009-08-161-2/+2
| | | | triggered
* 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
|
* 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-171-4/+4
| | | | | | | | | | | | 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: make sure to set max_requestLennart Poettering2009-04-081-2/+30
|
* Modify smoothing code to make cubic interpolation optional and allow 'quick ↵Lennart Poettering2009-04-051-2/+9
| | | | | | | | | | | | | | | fixups' on resuming The primary reason for this change is to allow time graphs that do not go through the origin and hence smoothing starting from the origin is not desired. This change will allow passing time data into the smoother while paused and then abruptly use that data without smoothing using the 'quick fixup' flag when resuming. Primary use case is allowing recording time graphs where the data recorded originates from a time before the stream was created. The resulting graft will be shifted and should not be smoothened to go through the origin.
* fix compiler warningLennart Poettering2009-03-301-1/+1
|
* make sure we never access an invalid pa_bluetooth_device objectLennart Poettering2009-03-301-17/+19
|
* Merge commit 'elmarco/bluetooth-fixes'Lennart Poettering2009-03-301-32/+67
|\
| * bluetooth: use new audio State propertiesMarc-André Lureau2009-03-271-4/+9
| |
| * bluetooth: don't access outside array rangeMarc-André Lureau2009-03-271-2/+4
| |
| * bluetooth: fail when switching on non-connected profileMarc-André Lureau2009-03-271-3/+12
| |
| * Do not reconfigure capabilities.Luiz Augusto von Dentz2009-03-261-0/+3
| |
| * Query and make use of the current configuration.Luiz Augusto von Dentz2009-03-261-4/+16
| |
| * Update ipc to match new message headers introduced on BlueZ 4.34.Luiz Augusto von Dentz2009-03-261-21/+25
| |
* | dbus: split dbus-util into dbus-sharedMarc-André Lureau2009-03-301-2/+1
|/ | | | | modules: fix dbus-util include pulse: get dbus at context connection
* bluetooth: fix #NOKIA, correctly unlink sink/srcMarc-André Lureau2009-03-241-2/+2
|
* readd volume control logicLennart Poettering2009-03-211-182/+156
|
* at a couple of #ifdef NOKIAs for nowLennart Poettering2009-03-211-11/+48
|