summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio.c b/audio.c
index c99c51b..733fd6b 100644
--- a/audio.c
+++ b/audio.c
@@ -1151,6 +1151,9 @@ void cRpiAudioDecoder::SetCodec(cAudioCodec::eCodec codec, unsigned int &channel
m_passthrough = true;
outputFormat = codec;
}
+ // if we decode locally, upmix mono channels to 2.0
+ else if (channels == 1)
+ channels = 2;
}
else
{