[pulseaudio-discuss] Tell me more about pa_simple_new device argument ?
eliaswoods at gmail.com
Fri Dec 17 01:35:18 PST 2010
There are functions that let you query the server for various
information like "Sinks" detailed on this webpage.
Hope that helps :)
On Thu, 2010-12-16 at 23:54 +0100, Serge SMEESTERS wrote:
> I'm using well th Simple API ...
> → http://0pointer.de/lennart/projects/pulseaudio/doxygen/
> But now, I plane to use two "connexion" for two different sound output
> devices (with multi-threading).
> I'm so looking for device selecting...
> How to discover the available devices ?
> I see the "dev" argument as "const char *" but only NULL value is
> "documented" for default one...
> My English is not very good (my natural language id French)...
> So, I give some code...
> m_p_pa_simple = pa_simple_new(
> "DJ main",
> NULL, // here should be the device selector :)
> My project is about DJ real-time-line.
> Don't worry, I'm using multi buffer and multitread my-self (instead of
> Asynchronous API).
> The fact is that I should have two output (my own thread objects) :
> one for main output and another for headphone...
> For example, I can add a USB sound card for headphone... or use 5.1
> jacks for distinguish both... I don't no what should be more simple...
> Thanks for help.
> I plane to share source code (C++) in when it'll be "good" enough...
> Serge S.
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
More information about the pulseaudio-discuss