Greetings,
I have been using FMOD (3, Ex & Studio) for years on Linux computers, with ALSA as the back end, and never encountered a problem with mixing so far, but I just upgraded my main PC to a Ryzen9 7900X CPU, and I found out that FMOD Studio entirely ignores the /etc/asound.conf ALSA configuration (it is like if FMOD was only opening hw:0,0, at the hardware level, bypassing ALSA configuration).
With this CPU/motherboard, the sound is using usb_audio and got several PCM channels (one for the back panel, which lack a headphone jack, one for the front jacks with the headphone, and one for the SPDIF output); unlike all my previous motherboards which had a HD Audio chipset, the jacks cannot be re-affected and so I had to configure ALSA to redirect the PCM output to both channels 0 & 1 so to be able to get sound in the headphone.
My /etc/asound.conf file is as follow (I found the solution on stackoverflow.com: linux - Alsa: how to duplicate a stream on 2 outputs and save system configs? - Stack Overflow):
pcm.quad {
type multi
slaves.a.pcm “dmix:Audio,0”
slaves.a.channels 2
slaves.b.pcm “dmix:Audio,1”
slaves.b.channels 2
bindings.0 { slave a; channel 0; }
bindings.1 { slave a; channel 1; }
bindings.2 { slave b; channel 0; }
bindings.3 { slave b; channel 1; }
}
pcm.stereo2quad {
type route
slave.pcm “quad”
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
pcm.!default {
type asym
playback.pcm “plug:stereo2quad”
capture.pcm “plug:dsnoop:Audio”
}
pcm.dsp {
type asym
playback.pcm “plug:stereo2quad”
capture.pcm “plug:dsnoop:Audio”
}
So, my question is: how to tell FMOD Studio to use /etc/asound.conf configuration and the software mixer instead of hw:0,0 ?..