[pulseaudio-discuss] ALSA-emulation for multiple devices

Tanu Kaskinen tanuk at iki.fi
Sat Dec 12 19:05:51 PST 2009


la, 2009-12-12 kello 15:58 -0500, Brian J. Murrell kirjoitti:
> I'd be surprised if pulse has not provided applications that use pulse
> directly the ability to do this kind of per-stream identification, but
> until all such applications can be written to take advantage to that, it
> would be nice/interesting in the meanwhile for pulse to provide multiple
> ALSA "devices" for applications that need/can use multiple devices.

Assuming you already know how to create the usual "pulse" alsa device,
adding more devices is easy. In .asoundrc, instead of writing just

pcm.pulse {
    type pulse
}

you can specify the sink or source too too:

pcm.speakers {
    type pulse
    device alsa_output.foobar42
}

HTH.

-- 
Tanu Kaskinen




More information about the pulseaudio-discuss mailing list