summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* Add telephony driver hooks for the HSP AT+CKPD commandJohan Hedberg2009-02-174-4/+49
|
* audio: make *_suspend() use bt_stop_stream_rspMarc-André Lureau2009-02-171-2/+2
|
* Use correct dev pointerJohan Hedberg2009-02-121-1/+1
|
* Make the unix IPC handling more robustJohan Hedberg2009-02-101-22/+19
| | | | | This patch adds extra checks to strictly only allow messages that can be expected to work with the current code.
* Fix authorization cancelation when connection dropsJohan Hedberg2009-02-061-7/+8
|
* Remove unnecessary empty lineJohan Hedberg2009-02-061-1/+0
|
* Attempt to parse all AT commands within bufferJohan Hedberg2009-02-061-20/+29
|
* Fix typoJohan Hedberg2009-02-061-1/+1
|
* Also allow conference for CSD_CALL_STATUS_WAITINGJohan Hedberg2009-02-061-2/+2
|
* Add missing translation for CSD_CALL_STATUS_WAITINGJohan Hedberg2009-02-051-0/+2
|
* Get rid of the update_indicators callbackJohan Hedberg2009-02-051-34/+17
| | | | | This callback is not needed since the same information is communicated as part of the Service Level Connection setup procedure anyway.
* Proper fix for the SLC checkJohan Hedberg2009-02-041-1/+2
|
* Fix SLC completion checkJohan Hedberg2009-02-041-1/+1
| | | | | We should check HF and not AG features when determining whether the SLC creation is complete or not.
* Delay AVRCP connection when remote device connects A2DPJohan Hedberg2009-02-044-3/+53
| | | | | | | The audio profile coexistence whitepaper recommends that the initiator of the A2DP connection also initiates the AVRCP connection. This patch adds a two second delay before we attempt connecting AVRCP after the remote device has connected A2DP to us.
* Add missing three-way calling feature bitJohan Hedberg2009-02-041-1/+2
|
* Set up a stream for incoming connections if the sink doesn't do itJohan Hedberg2009-02-023-26/+70
| | | | | | | | | | | | | | Some headsets when acting as initiators of an AVDTP connection create the AVDTP signaling channel but don't do anything else over it (i.e. they expect us to set up a stream when needed). This patch makes bluetoothd do the same as AudioSink.Connect() if no AVDTP commands have been received from the sink within one second after it has created the AVDTP signaling channel to us. Setting up a stream is also important because the AudioSink Connected property is bound to the existence of a configured stream (which makes sense since an AVDTP connection as such tells us nothing about what sinks and sources there are or even if audio or video will be used).
* Fix callheld indicator updatingJohan Hedberg2009-02-021-0/+14
|
* Decrease AVDTP idle timeout to 1 secondJohan Hedberg2009-02-021-1/+1
|
* Set AVRCP version 1.0 since nothing else is implementedJohan Hedberg2009-02-021-2/+2
|
* Fix setting revents in bluetooth_playback_poll_reventsJohan Hedberg2009-02-011-2/+1
| | | | | | | | | | This fix will unfortunately break any applications that make use of snd_pcm_wait (audacious is one of them). However, without this fix most applications using snd_pcm_poll_descriptors_revents will cause access to invalid memory as they only pass a single integer (while snd_pcm_wait_nocheck passes a full array). The following thread on the alsa mailing list has more information: http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014392.html
* Remove BT_SUSPEND_STREAM and BT_RESUME_STREAM since they are not usedJohan Hedberg2009-02-011-2/+0
|
* Use 'unsigned' instead of uint8_t for bitfieldsLennart Poettering2009-02-011-22/+22
| | | | | Using 'uint8_t' for bitfields doesn't make a lot of sense and is not allowed in ANSI C. Use 'unsigned' instead.
* Don't try to send an invalid SCO fd over the unix socketJohan Hedberg2009-02-011-2/+7
|
* Fix another signed/unsigned comparison warningMarcel Holtmann2009-01-301-1/+1
|
* Fix signed/unsigned comparison issue within GStreamer pluginMarcel Holtmann2009-01-304-6/+6
|
* Fix signed/unsigned comparison issues within AVDTP/A2DP codeMarcel Holtmann2009-01-304-19/+19
|
* Fix signed/unsigned comparison of ALSA pluginMarcel Holtmann2009-01-302-9/+11
|
* Fix mostly every warning caused by -Wsign-compareMarcel Holtmann2009-01-292-5/+5
|
* Implement AVDTP signal fragmentation supportJohan Hedberg2009-01-281-293/+487
| | | | | | This patch implements AVDTP signal fragmentation. Even though it's a mandatory feature it in practice it never gets used with A2DP as it requires messages that exceed 48 bytes (the minimum L2CAP MTU).
* Fix uninitialized address variableJohan Hedberg2009-01-281-0/+2
|
* Don't auto-disconnect explicitly created A2DP connectionsJohan Hedberg2009-01-273-1/+18
| | | | | | | | | This patch makes sure that explicitly created connections (remotely initiated or using AudioSink.Connect()) stay up until explictly disconnected. The control for this needs to be in the stream timer and not the disconnect timer since our AVDTP state machine always tries to keep one stream in configured state (i.e. it should be ok to always disconnect if we stay too long in IDLE state).
* Fix DBusError usage with dbus_message_get_argsJohan Hedberg2009-01-261-2/+2
|
* Fix bug on alsa plugin when debug is active.Luiz Augusto von Dentz2009-01-211-1/+2
|
* Use native byte order for audio in GStreamer and ALSA pluginsSiarhei Siamashka2009-01-193-4/+4
| | | | | This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA.
* Make audio plugin to use audio_device sufix instead of device_.Luiz Augusto von Dentz2009-01-083-9/+11
| | | | To prevent future name clashes with btd_device API.
* Fix a bogus pointer crash that occurred when reconnecting A2DP.Mike Lockwood2009-01-081-0/+1
|
* Allow ATA to be used for calls in WAITING state tooJohan Hedberg2009-01-081-0/+3
|
* Another fix to AT+CHLD=2Johan Hedberg2009-01-081-3/+3
| | | | | | Swap() can't actually be used for calls in WAITING state. Instead simply call Answer() for a waiting call and it will automatically put any previously active call on hold.
* Also release waiting calls upon AT+CHLD=0Johan Hedberg2009-01-081-0/+2
|
* Catch errors properly in telephony_call_hold_reqJohan Hedberg2009-01-081-7/+6
|
* Fix AT+CHLD=3 as wellJohan Hedberg2009-01-081-1/+18
| | | | | AT+CHLD=3 should use the special Conference() D-Bus method instead of Unhold().
* Fix AT+CHLD=2 behaviorJohan Hedberg2009-01-081-2/+34
|
* Fix use of invalid pointerJohan Hedberg2009-01-071-1/+3
|
* Remove double semicolonJohan Hedberg2009-01-071-1/+1
|
* Fix client socket to always be non-blocking.Luiz Augusto von Dentz2009-01-061-0/+1
| | | | | | Accourding to accept man page it does not inherit flags from listening socket. This mean that any operation in the socket generated by accept may block which can render the daemon unresponsive.
* Update copyright informationMarcel Holtmann2009-01-0143-44/+44
|
* Remove usage of MSG_WAITALL from pcm_bluetooth.c as wellJohan Hedberg2008-12-291-1/+1
|
* Fix receiving data over the unix socketJohan Hedberg2008-12-291-1/+1
| | | | | Don't use MSG_WAITALL since we can (and often will) receive less data than MTU with the new IPC.
* First attempt in fixing compiler warnings (still needs cleanup)Marcel Holtmann2008-12-2312-16/+17
|
* Removed unused functionMarcel Holtmann2008-12-231-18/+0
|