Default sources/sinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux