Hi,
I'm trying to find a way in libpulse to query the sample format of the
default source. Passing NULL to pa_context_get_source_info_by_name does
not seem to work ("invalid argument").
The only way I can think of is to create a stream, connect it to the
default source, call pa_stream_get_device_name (or index), and pass that
name to pa_context_get_source_info_by_name. But that is a quite ugly
solution. Any other way to get the default source's name?
Regards,
Magnus
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss