summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.Luiz Augusto von Dentz2009-02-196-20/+19
|
* Make use of g_error_free instead of g_clear_error when possible.Luiz Augusto von Dentz2009-02-192-3/+3
| | | | | g_clear_error make an extra operation (&err = NULL) which is not necessary when the GError is not reused.
* Convert HSP/HFP to use btio confirm_cbJohan Hedberg2009-02-193-52/+54
|
* Don't dereference the session if it was closedJohan Hedberg2009-02-191-1/+3
|
* No need to pass connect_cb if confirm_cb is passedJohan Hedberg2009-02-191-1/+1
|
* Convert AVDTP code to use btio confirm_cbJohan Hedberg2009-02-191-224/+210
|
* Add missing g_io_channel_refJohan Hedberg2009-02-191-1/+1
|
* Add missing g_io_channel_refJohan Hedberg2009-02-191-1/+1
|
* Add missing commaJohan Hedberg2009-02-191-1/+1
|
* Remove invalid g_io_channel_unrefJohan Hedberg2009-02-191-1/+0
|
* Make audio plugin to use BtIO API.Luiz Augusto von Dentz2009-02-195-181/+253
|
* Make probe to fail if avdtp_init fail.Luiz Augusto von Dentz2009-02-191-1/+7
|
* Add BT_PCM_FLAG_PCM_ROUTING flag to ipcJohan Hedberg2009-02-184-1/+10
|
* 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
|