AC3 device should be called 'ALSA_AC3_DEVICE'.

This commit is contained in:
Johns 2012-01-22 20:53:27 +01:00
parent 9546233175
commit 0fad02285d
1 changed files with 1 additions and 0 deletions

View File

@ -708,6 +708,7 @@ static snd_pcm_t *AlsaOpenPCM(int use_ac3)
// &&|| hell
if (!(use_ac3 && ((device = AudioAC3Device)
|| (device = getenv("ALSA_AC3_DEVICE"))
|| (device = getenv("ALSA_PASSTHROUGH_DEVICE"))))
&& !(device = AudioPCMDevice) && !(device = getenv("ALSA_DEVICE"))) {
device = "default";