diff options
author | Johns <johns98@gmx.net> | 2012-02-29 18:21:28 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-02-29 18:21:28 +0100 |
commit | 3b4ace14cfbfe852467549ed85f5d2ce8d367482 (patch) | |
tree | 45d68cb03f73046149797dea15c505d8e1626809 | |
parent | 5aa868c296b0ae0e5cb09cbe714987b2e374be8c (diff) | |
download | vdr-plugin-softhddevice-3b4ace14cfbfe852467549ed85f5d2ce8d367482.tar.gz vdr-plugin-softhddevice-3b4ace14cfbfe852467549ed85f5d2ce8d367482.tar.bz2 |
Add ac3 to info message for pass-through.
-rw-r--r-- | audio.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -743,7 +743,8 @@ static snd_pcm_t *AlsaOpenPCM(int use_ac3) && !(device = AudioPCMDevice) && !(device = getenv("ALSA_DEVICE"))) { device = "default"; } - Info(_("audio/alsa: using device '%s'\n"), device); + Info(_("audio/alsa: using %sdevice '%s'\n"), use_ac3 ? "ac3 " : "", + device); // open none blocking; if device is already used, we don't want wait if ((err = @@ -1554,7 +1555,7 @@ static int OssOpenPCM(int use_ac3) && !(device = AudioPCMDevice) && !(device = getenv("OSS_AUDIODEV"))) { device = "/dev/dsp"; } - Info(_("audio/oss: using device '%s'\n"), device); + Info(_("audio/oss: using %sdevice '%s'\n"), use_ac3 ? "ac3" : "", device); if ((fildes = open(device, O_WRONLY)) < 0) { Error(_("audio/oss: can't open dsp device '%s': %s\n"), device, |