[pulseaudio-discuss] Default sources/sinks
Mateusz Viste
mateusz at viste-family.net
Tue Apr 6 00:02:14 PDT 2010
On Tuesday 06 April 2010 08:48 (CEST), Brendon Costa wrote:
> With PA I can successfully enumerate the sources/sinks, however I seem
> to find out which source or sink is the system default. For example
> there does not seem to be a field in pa_sink_info or pa_source_info
> structures for the default device. How can I find which device is the
> default?
Hi,
In my application, I am using a call to pacmd, and when you retrieve the list of sinks and sources, the default one has a "*" character on it.
Best regards,
Mateusz Viste
--
You'll find my public OpenPGP key at http://www.viste-family.net/mateusz/pub_key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100406/82191d43/attachment.pgp>
More information about the pulseaudio-discuss
mailing list