[alsa-devel] "default" device. Is there a way to detect if it's a plugin, and if so which one?
tiwai at suse.de
Mon Apr 4 12:57:00 CEST 2011
At Sun, 03 Apr 2011 13:22:34 +0100,
Colin Guthrie wrote:
> If the user opens the "default" device in alsa, is there a way to find
> out if that "device" is actually a plugin?
> i.e. is it possible to tell if you have opened the pulseaudio plugin via
> There are various hacky ways (e.g. checking hints etc.) but that relies
> on downstream packaging which certainly isn't fool proof.
There is no clean way, AFAIK.
A new API would be needed. For example, something like:
But checking whether PA-plugin is used is difficult with the API above
because pulse plugin has no unique PCM type but it's a sub-plugin
of extplug plugin...
More information about the Alsa-devel