aboutsummaryrefslogtreecommitdiff
path: root/audio/unix.c
AgeCommit message (Collapse)Author
2009-03-12Make use of size_t and ssize_t when possibleJohan Hedberg
2009-03-12Fix audio plugin initialization failure casesJohan Hedberg
2009-03-04Reset request id whenever a response is generated.Luiz Augusto von Dentz
2009-02-26Unregister old stream callback before registering a new oneJohan Hedberg
2009-02-25Only request the lock when the client doesn't have itJohan Hedberg
2009-02-24Track and cancel requests in client_freeJohan Hedberg
2009-02-18Add BT_PCM_FLAG_PCM_ROUTING flag to ipcJohan Hedberg
2009-02-17audio: make *_suspend() use bt_stop_stream_rspMarc-André Lureau
2009-02-12Use correct dev pointerJohan Hedberg
2009-02-10Make the unix IPC handling more robustJohan Hedberg
This patch adds extra checks to strictly only allow messages that can be expected to work with the current code.
2009-02-01Don't try to send an invalid SCO fd over the unix socketJohan Hedberg
2009-01-08Fix a bogus pointer crash that occurred when reconnecting A2DP.Mike Lockwood
2009-01-06Fix client socket to always be non-blocking.Luiz Augusto von Dentz
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.
2009-01-01Update copyright informationMarcel Holtmann
2008-12-29Fix receiving data over the unix socketJohan Hedberg
Don't use MSG_WAITALL since we can (and often will) receive less data than MTU with the new IPC.
2008-12-23Convert sizeof to int before comparison against < 0Marcel Holtmann
2008-12-20Coding style fixesJohan Hedberg
2008-12-20Be more strict about message size mismatches.Luiz Augusto von Dentz
2008-12-16Fix audio ipc to deal better with codec capabilities.Luiz Augusto von Dentz
This should cover custom codec support for a2dp devices and add support for codecs while using SCO transports.
2008-11-26Fix proble with concurrent clients connecting audio socket.Luiz Augusto von Dentz
Concurrent connections is needed in order to support clients holding different access locks of the headset, eg. arecord | aplay.
2008-11-26Remove unused variableJohan Hedberg
2008-11-25Lock headset on stream start rather than stream configuration.Luiz Augusto von Dentz
2008-11-25Fix headset configuration and start.Luiz Augusto von Dentz
2008-11-25Fix bug which invalidates a device pointer before unlocking.Luiz Augusto von Dentz
2008-11-25Make hfp/hsp to suspend properly.Luiz Augusto von Dentz
2008-11-25Fix headset_request_stream to check for stream locks.Luiz Augusto von Dentz
A stream should only be configured if there is no other application holding the lock.
2008-10-09Clean up properly if stream starting failsJohan Hedberg
Remove the stream state callback if stream start fails. Without this patch the callback could still be called after a unix client has disconnected which in turn would cause a double-free to occur. There is code to remove the callback also in client_free() but it won't work since we remove any references to the session and stream in the resume callback.
2008-09-11Fix info calls that really should be debug insteadJohan Hedberg
2008-07-28Cleanup audio manager.Luiz Augusto von Dentz
2008-05-29Replace struct device with struct audio_deviceMarcel Holtmann
2008-05-08Move set_nonblocking() to the GLib helpers for nowMarcel Holtmann
2008-04-01Fix emitting errors to already disconnected clients.Luiz Augusto von Dentz
2008-02-08Improve handling of different transports.Luiz Augusto von Dentz
2008-02-02Update copyright informationMarcel Holtmann
2008-01-31Check for client disconnect when discovery completesJohan Hedberg
2008-01-30Add autoconnect config option to IPC and alsaJohan Hedberg
2008-01-23Add mpeg12 sep registration.Luiz Augusto von Dentz
2008-01-23Initial support of mpeg12 codec.Luiz Augusto von Dentz
2007-12-07Fix bug of error responses being ignored.Luiz Augusto von Dentz
2007-12-07Fix BT_GETCAPABILITIES when the headset has already been acting as INTJohan Hedberg
2007-12-07Minor coding style fixesJohan Hedberg
2007-12-06Fixes for hsp.Luiz Augusto von Dentz
2007-12-04Fix error messages. (thanks to fchevalier for the patch)Luiz Augusto von Dentz
2007-12-03Handle new ipc messages properly and adapt the plugins.Luiz Augusto von Dentz
2007-11-21Integrate new ipc API implementation.Luiz Augusto von Dentz
2007-11-05Fix packet lenght to be the output MTU.Luiz Augusto von Dentz
2007-10-23Update copyright informationMarcel Holtmann
2007-10-23Fix unaligned access to ipc_data_cfg structJohan Hedberg
2007-10-04Fix stream callback typeJohan Hedberg
2007-09-05Cleanup fd passing a littleJohan Hedberg