Add more default values to I2S output
This commit is contained in:
1 parent
4d9d010e8b
commit
eb677664f2
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user