Skip to content

Commit f057fc5

Browse files
committed
AudioKitConfig remove speaker_active
1 parent b4a2f64 commit f057fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioLibs/AudioKit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ 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;
31+
//bool speaker_active = true;
3232
bool default_actions_active = true;
3333

3434
/// convert to config object needed by HAL
@@ -205,7 +205,7 @@ class AudioKitStream : public AudioStreamX {
205205
converter.begin(cfg.channels, 2, cfg.bits_per_sample);
206206

207207
// Volume control and headphone detection
208-
setSpeakerActive(cfg.speaker_active);
208+
//setSpeakerActive(cfg.speaker_active);
209209
if (cfg.default_actions_active){
210210
setupActions();
211211
}

0 commit comments

Comments
 (0)