summaryrefslogtreecommitdiffstats
path: root/audio/headset.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-26 14:50:16 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-26 14:50:16 -0300
commit09d691ffa7e3d873c140aa05a4c2d6c888e1d769 (patch)
tree128d7d2c79625b587abc30c92f046dbe06b6e4a6 /audio/headset.h
parent4a7ef16ea61752ccb2ea7cd1db965b900417cfa0 (diff)
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.
Diffstat (limited to 'audio/headset.h')
-rw-r--r--audio/headset.h4
1 files changed, 4 insertions, 0 deletions
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,