diff options
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -235,6 +235,9 @@ bool cRpiSetup::IsAudioFormatSupported(cAudioCodec::eCodec codec, if (codec == cAudioCodec::eMPG || codec == cAudioCodec::eAAC) return false; + if (channels < 2 || channels > 6) + return false; + switch (GetAudioFormat()) { case cAudioFormat::ePassThrough: |