[pulseaudio-discuss] Getting a null sink to show up as an ALSA device.

Colin Guthrie gmane at colin.guthr.ie
Thu Oct 20 02:17:26 PDT 2011


'Twas brillig, and Tanu Kaskinen at 20/10/11 07:21 did gyre and gimble:
> On Wed, 2011-10-19 at 19:56 -0400, Chris wrote:
> (That exclamation mark means that this definition will override the
> older definition for "default" if it happens to have been defined
> already in some other configuration file). That alsa device will use
> whatever sink Pulseaudio thinks is best. For making alsa devices for the
> null sink and its monitor, this should work:
> 
> pcm.vac {
>     type pulse
>     device vac
> }
> 
> pcm.vacmonitor {
>     type pulse
>     device vac.monitor
> }
> 

You can also provide a hint which some alsa clients will use:


pcm.vac {
    type pulse
    device vac
    hint {
        show on
        description "My Nice VAC"
    }
}

aplay -L
vac
    My Nice VAC
....


Col
-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the pulseaudio-discuss mailing list