We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4e772c commit 27fc6f8Copy full SHA for 27fc6f8
eloc610LowPowerPartition/src/main.cpp
@@ -669,6 +669,10 @@ void record(I2SSampler *input) {
669
670
gRecording=true;
671
char fname[100];
672
+
673
+ //BUGME: this is very dirty: I2SMEMSSampler directly accesses global variable gbitShift
674
+ // the high power partition uses gMicBitShift (WTF?) but its never set through config
675
+ gbitShift=getMicInfo().MicBitShift.toInt();
676
677
input->start();
678
gRealSampleRate=(int32_t)(i2s_get_clk(I2S_NUM_0));
0 commit comments