I've been trying to get surround sound (5.1) to work with games through Wine, with no success so far.
I'm using only Alsa only (no PulseAudio installed), and got a .asoundrc file that exposes my sound card as a multichannel card with software mixing (the default surround40/51/71/etc.. available from alsa don't allow more than 1 source to use the sound card)
Code: Select all
pcm.!default {
type plug
slave.pcm "dmix6Ch"
}
pcm.dmix6Ch {
type dmix
ipc_key 8462
slave {
pcm "hw:0"
channels 6
period_size 1024
}
}
Winecfg speaker configuration is set to 5.1 Surround for both Out:default and Out:Multichannel
I did some testing
Code: Select all
Winecfg sound test, with winecfg speaker config on 5.1
empty .asoundrc file
system default -> no sound from rear speakers
out: default -> no sound from rear speakers
Multichannel -> no sound from rear speakers
asoundrc with 6 channels dmix
system default -> sound from rear speakers
out: default -> sound from rear speakers
Multichannel -> no sound from rear speakers
Wine officially supports surround sound for DirectSound, but most recent games either use FMOD or Xaudio afaik, DirectSound is deprecated since Microsoft changed the sound layers in Win Vista.
My issue comes from games, where sound desperately sticks to stereo output, no matter what winecfg settings are. I've been trying with Crysis, and Secret world Legends, both got 5.1 support in their options, and no sound comes from the central/rear speakers.
So am I doing something wrong ? Or is the surround sound actually just supported for DirectSound ?
Thanks for answers
P.S.: Please do not tell me to install pulseaudio to upmix 2.0 -> 5.1, I can do that with alsa, and that's not the surround I'm looking for.