[alsa-devel] Determining the plugins being used?

Raymond Toy rtoy at google.com
Mon Sep 12 21:16:36 CEST 2011

Is there a way to determine the plugins being used?  I notice that
snd_pcm_dump produces information about the various plugins that are being
used.  In one of test case, aplay -v shows that it's using  a rate
conversion plugin, a slave for Direct Stream Mixing PCM, and finally, the
actual hardware PCM card.

For my application, it would be nice to know if we're using the pulse audio
plugin so that I can setup our code appropriately.  (The period interrupts
are not what we were expecting, so we need to use a different code path.)
 If we're using the dmix plugin, the period interrupts can match our
expectations, so we want to use a low-latency path.

What is the appropriate way to determine the plugins used?


More information about the Alsa-devel mailing list