I have a system with two sound devices and am using sound via HDMI out. This is Card 1, Device 7, Subdevice 0, so I set in my
defaults.ctl.card 1 defaults.pcm.card 1 defaults.pcm.device 7 defaults.pcm.subdevice 0
This gives me sound in ALSA applications. Now I want to run an old program that needs OSS, so I installed
alsa-oss and did
sudo modprobe snd-pcm-oss snd-mixer-oss. When I run the old program, I get sound, but only from the analog line out, not from HDMI, so the OSS emulation uses the first card.
How can I tell the OSS emulation to use the second card instead?