From 09d691ffa7e3d873c140aa05a4c2d6c888e1d769 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 26 Nov 2008 14:50:16 -0300 Subject: Fix proble with concurrent clients connecting audio socket. Concurrent connections is needed in order to support clients holding different access locks of the headset, eg. arecord | aplay. --- audio/headset.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/headset.h') diff --git a/audio/headset.h b/audio/headset.h index 25c7acf2..c7b00e02 100644 --- a/audio/headset.h +++ b/audio/headset.h @@ -52,6 +52,10 @@ uint32_t headset_config_init(GKeyFile *config); void headset_update(struct audio_device *dev, uint16_t svc, const char *uuidstr); +unsigned int headset_config_stream(struct audio_device *dev, + headset_stream_cb_t cb, + headset_lock_t lock, + void *user_data); unsigned int headset_request_stream(struct audio_device *dev, headset_stream_cb_t cb, headset_lock_t lock, -- cgit