Skip to content

Commit 27fc6f8

Browse files
committed
BUGME: using default bishift from MiInfo
* TODO: discuss how to configure it!
1 parent a4e772c commit 27fc6f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eloc610LowPowerPartition/src/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,10 @@ void record(I2SSampler *input) {
669669

670670
gRecording=true;
671671
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();
672676

673677
input->start();
674678
gRealSampleRate=(int32_t)(i2s_get_clk(I2S_NUM_0));

0 commit comments

Comments
 (0)