From eb677664f221cfa1e3ec140ac8dea99fa517a373 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Thu, 1 Feb 2018 12:30:30 -0800 Subject: [PATCH] Add more default values to I2S output --- src/AudioOutputI2S.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AudioOutputI2S.cpp b/src/AudioOutputI2S.cpp index a77a3bc..1248aa9 100644 --- a/src/AudioOutputI2S.cpp +++ b/src/AudioOutputI2S.cpp @@ -69,7 +69,10 @@ AudioOutputI2S::AudioOutputI2S(int port, bool builtInDAC) #endif i2sOn = true; mono = false; + bps = 16; + channels = 2; SetGain(1.0); + SetRate(44100); // Default this->builtInDAC = builtInDAC; }