Hello, I have an Audiotrak Prodigy HD2 sound card (it's for headphones maniacs, stereo-only). It's not very popular so I had to do few tricks to make it work under Linux, including a flash and custom dmix configuration, so it would play sound from multiple sources at the same time:
~/.asoundrc
# This config is (C) copyright Alexander Prokopyev (aulix.com), 2011
# modified by mkkot, 2012: ALC888 card removed
##### Hardware Aliases #####
pcm.music_card {
type hw;
card HD2; # Live
}
ctl.music_card {
type hw;
card HD2; # Live
}
######################### MUSIC ###########################
pcm.music_mixer {
type dmix;
ipc_key 1478;
ipc_key_add_uid false; # let multiple users share
ipc_perm 0777; # IPC permissions (octal, default 0600)
slave {
pcm music_card; # "hw:HD2,0"
format S32_LE;
# period_time 0;
# period_size 1024;
# buffer_size 4096;
rate 44100;
}
}
ctl.music_mixer ctl.music_card;
pcm.music_dm {
type plug;
slave.pcm "music_mixer";
}
ctl.music_dm ctl.music_card;
##### DEFAULT #######
pcm.!default pcm.music_dm;
ctl.!default ctl.music_dm;
Generally it works in dektop environment, with music players and most games, as long as application uses device "default".
However, Amnesia's game sound with this configuration is very jerky, no matter which device I select. When i remove .asoundrc content and select manually my soundcard via Launcher.bin64,
it works. It doesn't work with "ALSA default" option. Any ideas? What kind of sound backend Your game uses? I would like to digg a bit to see what is the cause.