summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-03-15 09:09:53 +0100
committerThomas Reufer <thomas@reufer.ch>2015-03-15 09:09:53 +0100
commit0aaa2e239b824c6078700970f42510f23199f52d (patch)
tree34cb07fe896955dcda390e1a2f120502554e5de7 /audio.c
parent3ba1e43de83c264622e34fe01fbd7c6b24651d21 (diff)
downloadvdr-plugin-rpihddevice-0aaa2e239b824c6078700970f42510f23199f52d.tar.gz
vdr-plugin-rpihddevice-0aaa2e239b824c6078700970f42510f23199f52d.tar.bz2
combined digital audio format options to one single setup option
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio.c b/audio.c
index b3cedbb..882ba43 100644
--- a/audio.c
+++ b/audio.c
@@ -1007,8 +1007,7 @@ public:
newPort = cRpiAudioPort::eHDMI;
// check if pass through is possible
- if (cRpiSetup::IsAudioPassthrough() &&
- cRpiSetup::IsAudioFormatSupported(codec, channels,
+ if (cRpiSetup::IsAudioFormatSupported(codec, channels,
samplingRate))
newCodec = codec;