mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
AC3 device should be called 'ALSA_AC3_DEVICE'.
This commit is contained in:
parent
9546233175
commit
0fad02285d
1
audio.c
1
audio.c
@ -708,6 +708,7 @@ static snd_pcm_t *AlsaOpenPCM(int use_ac3)
|
|||||||
|
|
||||||
// &&|| hell
|
// &&|| hell
|
||||||
if (!(use_ac3 && ((device = AudioAC3Device)
|
if (!(use_ac3 && ((device = AudioAC3Device)
|
||||||
|
|| (device = getenv("ALSA_AC3_DEVICE"))
|
||||||
|| (device = getenv("ALSA_PASSTHROUGH_DEVICE"))))
|
|| (device = getenv("ALSA_PASSTHROUGH_DEVICE"))))
|
||||||
&& !(device = AudioPCMDevice) && !(device = getenv("ALSA_DEVICE"))) {
|
&& !(device = AudioPCMDevice) && !(device = getenv("ALSA_DEVICE"))) {
|
||||||
device = "default";
|
device = "default";
|
||||||
|
Loading…
Reference in New Issue
Block a user