* [Bluez-devel] org.bluez.Audio and connections
@ 2006-12-13 3:18 Brad Midgley
0 siblings, 0 replies; only message in thread
From: Brad Midgley @ 2006-12-13 3:18 UTC (permalink / raw)
To: BlueZ development
Marcel
Can we go back and look at audio connection init & inspect? I proposed
ListConnectedStreams and ways to examine each stream for profile and
status... we may start up an audio app after the connection was already
going so the app would have missed seeing the connect signals.
Do these look ok?
array{string} ListAudioDevices()
Returns list of bdaddrs for devices that
report audio in their device class.
array{string} Connect(string bdaddr)
Connects the headset/headphones using A2DP or
HSP/HFP or both. Returns the array of streams
representing the successful connections.
void Disconnect(string bdaddr)
Disconnect all streams to the audio device.
array{string} ListConnectedStreams()
string StreamAddress(string stream)
Returns the bdaddr the indicated stream
connects to.
boolean IsHeadset(string stream)
Return true if the stream represents a
headset.
boolean IsSink(string stream)
Return true if the stream represents
headphones.
boolean IsPlaying(string stream)
Return true if the stream is in a playing
state.
boolean IsPaused(string stream)
Brad
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-13 3:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 3:18 [Bluez-devel] org.bluez.Audio and connections Brad Midgley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox