summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
Commit message (Collapse)AuthorAgeFilesLines
* Set up a stream for incoming connections if the sink doesn't do itJohan Hedberg2009-02-021-25/+54
| | | | | | | | | | | | | | 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).
* Don't auto-disconnect explicitly created A2DP connectionsJohan Hedberg2009-01-271-0/+2
| | | | | | | | | 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).
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Make use of g_timeout_add_seconds whenever possible.Luiz Augusto von Dentz2008-11-171-3/+3
|
* Use g_dbus_send_message instead of dbus_connection_sendJohan Hedberg2008-10-241-6/+3
|
* Fix indentation levelsJohan Hedberg2008-10-161-14/+10
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-161-20/+14
|
* Fix remaining places to use dict_append_entry tooJohan Hedberg2008-10-161-4/+2
|
* Fix uninitialized reply of multiple GetProperties methodsMarcel Holtmann2008-10-031-0/+4
|
* Mark old plugins API as deprecated.Luiz Augusto von Dentz2008-10-021-5/+6
|
* Add code to emit PropertyChanged on sink interface.Luiz Augusto von Dentz2008-10-021-2/+26
|
* Add property support for sink interface.Luiz Augusto von Dentz2008-10-021-0/+36
|
* Fix potential invalid read.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Move error_failed to its usage placesMarcel Holtmann2008-08-041-0/+6
|
* Remove use of g_dbus_unregister_all_interfaces.Luiz Augusto von Dentz2008-07-301-15/+31
|
* Cleanup audio manager.Luiz Augusto von Dentz2008-07-281-0/+3
|
* Use g_dbus_emit_signal for sending D-Bus signalsMarcel Holtmann2008-06-071-4/+4
|
* Fix the last remains of sending helpersMarcel Holtmann2008-06-061-3/+6
|
* Make audio service to use libgdbus functions.Luiz Augusto von Dentz2008-06-021-31/+38
|
* Replace struct device with struct audio_deviceMarcel Holtmann2008-05-291-9/+9
|
* Move D-Bus object and interface helpers into libgdbusMarcel Holtmann2008-05-081-1/+1
|
* Move D-Bus watch functions into libgdbusMarcel Holtmann2008-05-081-3/+2
|
* Update copyright informationMarcel Holtmann2008-02-021-1/+1
|
* Initial support of mpeg12 codec.Luiz Augusto von Dentz2008-01-231-44/+44
|
* Handle new ipc messages properly and adapt the plugins.Luiz Augusto von Dentz2007-12-031-17/+195
|
* Update services to new error codes and helper functionsJohan Hedberg2007-11-261-10/+9
|
* Update copyright informationMarcel Holtmann2007-10-231-1/+1
|
* Fixes a2dpsink element.Luiz Augusto von Dentz2007-10-181-1/+1
|
* Handle cross-connect case for AVDTPJohan Hedberg2007-10-091-5/+36
|
* Minor coding style fixesJohan Hedberg2007-10-031-2/+1
|
* Expose stream setup errors higher up in the call stackJohan Hedberg2007-09-281-2/+2
|
* Cleanup and fixes of stream handlingJohan Hedberg2007-08-311-4/+4
|
* Remove unused variablesJohan Hedberg2007-08-301-3/+0
|
* Don't confuse stream callback id's and stream setup callback id'sJohan Hedberg2007-08-301-1/+0
|
* Fix stream setup error handlingJohan Hedberg2007-08-301-0/+1
|
* Make codec parameters support available for application.Luiz Augusto von Dentz2007-08-291-1/+2
|
* Remove stream callback in sink_freeJohan Hedberg2007-08-291-1/+8
|
* Convert alsa initiated headset connections to similar callback system that ↵Johan Hedberg2007-08-271-2/+0
| | | | A2DP is already using
* Support up to two simultaneous streamsJohan Hedberg2007-08-241-1/+5
|
* Add Playing and Stopped signals to sink inteface.Luiz Augusto von Dentz2007-08-221-1/+13
|
* Implement RequestAuthorization supportJohan Hedberg2007-08-211-0/+4
|
* Handle error situations betterJohan Hedberg2007-08-161-7/+9
|
* Revert changes from previous commit that were not supposed to go inJohan Hedberg2007-08-161-6/+4
|
* Fix minumum bitpool calculationJohan Hedberg2007-08-161-4/+6
|
* Rework interfacing with the avdtp state machineJohan Hedberg2007-08-161-251/+74
|
* call avdtp_start from open_cfm instead of state callbackJohan Hedberg2007-08-151-9/+5
|
* The resume variable is redundantJohan Hedberg2007-08-151-6/+3
|
* Fix resuming of stream on rapid unix client reconnectsJohan Hedberg2007-08-151-4/+14
|
* Reset sink->c before calling get_config to avoid EBUSYJohan Hedberg2007-08-141-1/+2
|
* Rename pending_connect struct to something more accurate to its usageJohan Hedberg2007-08-131-10/+11
|