Commit Graph

5 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz a192f22d3e doc/handsfree-audio-api: Add Acquire method
This adds Acquire method which can be used by agents that require
pulling the fd directly instead of waiting a NewConnection.

Note: sounds servers like PulseAudio do auto suspend streams when idle
for a certain amount of time and once anything happens it will resume
the stream, though this all happens in the so called IO thread in a
blocking fashion making it impossible to receive the fd via NewConnetion
causing the stream to fail to resume. There are other forms to work
around but this seems to be most convenient as we do want the auto
suspend feature to work properly but letting the stream to fail to
resume may create unexpected artifacts while the NewConnection is
handled in main thread.
2017-05-04 12:34:31 -05:00
Simon Fels 5a7410e9e4 handsfree-audio: add type for our audio cards
When registering audio cards for the handsfree and gateway roles we
need a way for our users to differentiate between both to decide which
of them they start using for their purpose.
2015-10-05 11:46:30 -05:00
Claudio Takahasi 9dd517a948 doc: Add Handsfree Audio Card "Connect" errors 2013-03-21 10:06:45 -05:00
Claudio Takahasi 36cdc0297a doc: Add possible handsfree-audio API errors
This patch adds possible errors that can be returned by Register and
Unregister methods of the Manager interface.
2013-02-26 14:20:54 -06:00
Denis Kenzior 57a44e8d23 doc: Add experimental handsfree-audio API 2013-02-19 09:47:57 -06:00