We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e164004 commit efb927cCopy full SHA for efb927c
source/MicroBitAudio.cpp
@@ -84,7 +84,7 @@ MicroBitAudio::MicroBitAudio(NRF52Pin &pin, NRF52Pin &speaker, NRF52ADC &adc, NR
84
85
//Initilise level detector SPL and attach to splitter
86
//levelSPL = new LevelDetectorSPL(*rawSplitter->createChannel(), 85.0, 65.0, 16.0, 0, DEVICE_ID_MICROPHONE, false);
87
- levelSPL = new LevelDetectorSPL(*rawSplitter->createChannel(), 85.0, 65.0, 4.0, 35.0, DEVICE_ID_SYSTEM_LEVEL_DETECTOR);
+ levelSPL = new LevelDetectorSPL(*rawSplitter->createChannel(), 85.0, 65.0, 16.0, 35.0f, DEVICE_ID_SYSTEM_LEVEL_DETECTOR);
88
89
//Initilise stream splitter
90
splitter = new StreamSplitter(processor->output, DEVICE_ID_SPLITTER);
0 commit comments