12 Sep
2011
12 Sep
'11
9:16 p.m.
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?
Ray