summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix signed/unsigned comparison issues within AVDTP/A2DP codeMarcel Holtmann2009-01-301-15/+15
|
* 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).
* Don't auto-disconnect explicitly created A2DP connectionsJohan Hedberg2009-01-271-1/+14
| | | | | | | | | 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
|
* Add another missing check for btd_device_add_uuid.Luiz Augusto von Dentz2008-12-021-1/+6
|
* Make use of g_timeout_add_seconds whenever possible.Luiz Augusto von Dentz2008-11-171-9/+13
|
* Set stream timer in avdtp_sep_set_state instead of avdtp_suspend_respJohan Hedberg2008-10-251-4/+6
| | | | | This ensures that the timer is not only set when we requested the suspend but also when the other side requested the suspend.
* Perform a proper abort upon stream connect failureJohan Hedberg2008-10-201-4/+8
|
* Check for existing STREAMING state when receiving START_RSPJohan Hedberg2008-10-191-1/+4
| | | | | | | This could happen if both peers send START_CMD at the same time and the SNK peer doesn't reject the command (as it should according to the spec). This behaviour can be seen e.g. when using pulseaudio and the Mororola S9 headset.
* Remove OPEN state change from avdtp_open_cmdJohan Hedberg2008-10-191-1/+0
| | | | | | | | | | | | Some time back the INT role OPEN transition was moved from receiving the OPEN response to actually having the stream L2CAP channel ready. Unfortunatly this patch forgot to change the ACP case so the code has so far attempted a double ->OPEN transition. According to the AVDTP spec the transition should happen before the stream L2CAP transport but this doesn't really make sense since several places want to have the stream fd ready when we go to the OPEN state. Therefore, this patch removes the ACP role OPEN transition from receiving the OPEN command and lets the state change be in having the stream L2CAP transport established.
* Add mechanism for adding new UUIDs from the driver sideJohan Hedberg2008-10-091-4/+6
| | | | | | With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for.
* Check for NULL streamJohan Hedberg2008-10-091-0/+3
|
* Move dev->sink initialization as acceptor to correct placeJohan Hedberg2008-10-081-3/+19
| | | | | | | We can't initialize dev->sink in the AVDTP server callback since at this point we don't know if the remote device will be acting in audio source or audio sink role. So, do the initialization when we get the SetConfiguration command since then we can check the type of the SEP that was selected.
* Create audio device objects on incoming connections if necessaryJohan Hedberg2008-10-081-0/+11
| | | | | | If we haven't done SDP yet the data structures will be uninitialized. This patch makes sure that the structures are properly initialized if we get an incoming connection before service discovery has been done.
* Don't do double g_io_channel_unref if btd_request_authorization failsJohan Hedberg2008-10-081-2/+2
|
* Fix coding styleMarcel Holtmann2008-10-061-2/+1
|
* Cancel any pending authorization request if the connection gets dropedJohan Hedberg2008-10-061-0/+2
|
* Fix AVDTP_STATE_OPEN to happen only after connected and thus prevent ↵Luiz Augusto von Dentz2008-10-011-2/+2
| | | | emitting Connected signal when not connected.
* Prevent passing stdin (0) as a audio transport to applications.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Fix another potential invalid read.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Cancels the pending request from agent side when receiving a NoReplyVinicius Costa Gomes2008-09-091-5/+0
|
* Fix a2dp and avrcp drivers to not rely on BDADDR_ANY.Luiz Augusto von Dentz2008-09-081-43/+90
|
* Don't use L2CAP_LM_SECURE and RFCOMM_LM_SECURE for nowMarcel Holtmann2008-08-191-3/+1
|
* Remove driver.c driver.h and remove workaround for to force a symbol resolution.Luiz Augusto von Dentz2008-08-181-4/+5
|
* Fix authorization mechanism for 3.x.Luiz Augusto von Dentz2008-06-171-32/+2
|
* Replace struct device with struct audio_deviceMarcel Holtmann2008-05-291-3/+3
|
* Make control.c to use bt_l2cap_listen.Luiz Augusto von Dentz2008-05-271-1/+1
|
* Fix problem with non const bdaddr_tMarcel Holtmann2008-05-151-2/+2
|
* Remove casts.Luiz Augusto von Dentz2008-05-151-5/+5
|
* Make audio service to use of bt_*_listen helpers.Luiz Augusto von Dentz2008-05-151-94/+30
|
* Fix default value handling when config file is not presentMarcel Holtmann2008-05-151-8/+9
|
* Make bt_io_callback_t to take both source and destination.Luiz Augusto von Dentz2008-05-141-1/+2
|
* Move D-Bus watch functions into libgdbusMarcel Holtmann2008-05-081-3/+3
|
* fixed format stringClaudio Takahasi2008-05-081-2/+2
|
* Make bt_l2cap_connect to take mtu as paramter.Luiz Augusto von Dentz2008-05-071-1/+1
|
* Fixes avdtp and avctp authorization for incoming connections.Luiz Augusto von Dentz2008-05-051-26/+34
|
* Fixed psm endianness for l2cap connectionCidorvan Leite2008-04-291-1/+1
|
* AVDTP l2cap connection clean up in audio pluginCidorvan Leite2008-04-281-79/+19
|
* Rename ForceMaster to just MasterJohan Hedberg2008-03-051-1/+1
|
* Do master role switching by default and add ForceMaster config optionJohan Hedberg2008-03-051-3/+19
|
* Update copyright informationMarcel Holtmann2008-02-021-1/+1
|
* Whitespace cleanupJohan Hedberg2008-01-281-1/+1
|
* Add config options for each source.Luiz Augusto von Dentz2008-01-231-0/+2
|
* Add mpeg12 sep registration.Luiz Augusto von Dentz2008-01-231-0/+2
|
* Minor locality issueJohan Hedberg2007-12-071-1/+1
|
* Make sure remote SEP cache and active streams stay in syncJohan Hedberg2007-12-071-3/+5
|
* Fix BT_GETCAPABILITIES when the headset has already been acting as INTJohan Hedberg2007-12-071-4/+4
|
* Minor coding style fixesJohan Hedberg2007-12-071-5/+9
|
* Cache discovery process to avoid delays.Luiz Augusto von Dentz2007-12-051-6/+5
|
* Handle new ipc messages properly and adapt the plugins.Luiz Augusto von Dentz2007-12-031-1/+36
|