[RoarAudio] HowTo: List streams by stream direction (new way)

Philipp Schafft lion at lion.leolix.org
Fri Sep 10 00:47:01 CEST 2010


flum,

Just added some API for already existing features to make it easy to
list streams by stream direction.

This can for example be used to get a list only of all playback streams
or only of outputs.

I attach a example code to use it. This requires RoarAudio >= 0.4beta0
(current trunk).

If server does not support this request it will reject and you should
fall back to some nice handling of this (whatever this means for your
application, maybe to try to get a list of all streams and filter on
your own).

-- 
Philipp.
 (Rah of PH2)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liststreamsbydir.c
Type: text/x-csrc
Size: 1388 bytes
Desc: not available
URL: <http://lists.keep-cool.org/pipermail/roaraudio/attachments/20100910/2383952b/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.keep-cool.org/pipermail/roaraudio/attachments/20100910/2383952b/attachment.pgp>


More information about the RoarAudio mailing list