summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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.
* explain ff7033c11d9248fe837204b03c8397231dc511feLennart Poettering2009-03-311-0/+3
|
* Revert "make sure we always read in all properties"Lennart Poettering2009-03-311-9/+0
| | | | | | | This reverts commit 1c8f968282208be391f062c1656d85e2ba5078ac. Turns out doing this is racy. The appropriate fix seems to be 38825d79123678bf0c5d156aaea4bedb888a7fcd
* fix compiler warningLennart Poettering2009-03-301-1/+1
|
* make sure we never access an invalid pa_bluetooth_device objectLennart Poettering2009-03-301-17/+19
|
* make sure we always read in all propertiesLennart Poettering2009-03-301-0/+9
|
* get rid of old 'Connected' property parsing and make sure we don't execute ↵Lennart Poettering2009-03-301-11/+0
| | | | two case branches
* introduce typedef for pa_bt_audio_state and use it everywhereLennart Poettering2009-03-302-11/+10
|
* Merge commit 'elmarco/bluetooth-fixes'Lennart Poettering2009-03-308-131/+275
|\
| * bluetooth: use new audio State propertiesMarc-André Lureau2009-03-274-49/+112
| |
| * bluetooth: GetProperties after profile UUID show upMarc-André Lureau2009-03-272-0/+26
| |
| * bluetooth: remove racy GetProperties to check profileMarc-André Lureau2009-03-271-6/+0
| |
| * 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
| |
| * bluetooth: connected can be -1, check > 0Marc-André Lureau2009-03-271-1/+1
| |