Skip to content

Commit 86f9f50

Browse files
committed
remove AudioToolsConfig speaker_active
1 parent f057fc5 commit 86f9f50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/AudioLibs/AudioKit.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ friend class AudioKitStream;
2828
audio_hal_dac_output_t output_device = AUDIOKIT_DEFAULT_OUTPUT;
2929
int masterclock_pin = 0;
3030
bool sd_active = true;
31-
//bool speaker_active = true;
3231
bool default_actions_active = true;
3332

3433
/// convert to config object needed by HAL
@@ -205,8 +204,7 @@ class AudioKitStream : public AudioStreamX {
205204
converter.begin(cfg.channels, 2, cfg.bits_per_sample);
206205

207206
// Volume control and headphone detection
208-
//setSpeakerActive(cfg.speaker_active);
209-
if (cfg.default_actions_active){
207+
S if (cfg.default_actions_active){
210208
setupActions();
211209
}
212210

0 commit comments

Comments
 (0)