From f7b6f90ffec78e9192195c45684d62770b4d5ef1 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Tue, 14 Nov 2017 13:32:55 -0800 Subject: [PATCH] Fix unitialized MONO flag MONO was not set and could result (randomly at start of runtime) in mixing the two channels instead of sending them across unmolested. Now initialize it to FALSE and normal behaviour. --- src/AudioOutputI2SDAC.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AudioOutputI2SDAC.cpp b/src/AudioOutputI2SDAC.cpp index 9b5d5a3..6e34995 100644 --- a/src/AudioOutputI2SDAC.cpp +++ b/src/AudioOutputI2SDAC.cpp @@ -28,6 +28,7 @@ AudioOutputI2SDAC::AudioOutputI2SDAC() { if (!i2sOn) i2s_begin(); i2sOn = true; + mono = false; } AudioOutputI2SDAC::~AudioOutputI2SDAC()