From 0fad02285dd983bd22fb9795698e4c3c88d21038 Mon Sep 17 00:00:00 2001 From: Johns Date: Sun, 22 Jan 2012 20:53:27 +0100 Subject: [PATCH] AC3 device should be called 'ALSA_AC3_DEVICE'. --- audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/audio.c b/audio.c index a9f4251..0b12610 100644 --- a/audio.c +++ b/audio.c @@ -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";