Skip to content

Commit dd7a9d3

Browse files
Update platform and lib
1 parent 1db0d17 commit dd7a9d3

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

platformio.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; https://docs.platformio.org/page/projectconf.html
1010

1111
[env:esp-wrover-kit]
12-
platform = espressif32
12+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
1313
board = esp-wrover-kit
1414
framework = arduino
1515
monitor_speed = 115200
@@ -18,7 +18,7 @@ build_flags =
1818
-DBOARD_HAS_PSRAM
1919
-mfix-esp32-psram-cache-issue
2020
lib_deps =
21-
earlephilhower/ESP8266Audio @ 1.9.7
21+
earlephilhower/ESP8266Audio @ 2.4.1
2222
bblanchon/ArduinoJson @ ^6.21.5
2323
olikraus/U8g2 @ ^2.36.12
2424
build_src_filter =
@@ -27,7 +27,7 @@ build_src_filter =
2727
-<debug_midi_main.cpp>
2828

2929
[env:esp-wrover-kit-debug-input]
30-
platform = espressif32
30+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
3131
board = esp-wrover-kit
3232
framework = arduino
3333
monitor_speed = 115200
@@ -41,7 +41,7 @@ build_src_filter =
4141
+<debug_input_main.cpp>
4242

4343
[env:esp-wrover-kit-debug-midi]
44-
platform = espressif32
44+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
4545
board = esp-wrover-kit
4646
framework = arduino
4747
monitor_speed = 115200

src/audio.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ class BudgetedAudioOutput : public AudioOutput {
170170
void resetBudget(uint16_t sampleCount) { budgetSamples_ = sampleCount; }
171171

172172
bool SetRate(int hz) override { return sink_ && sink_->SetRate(hz); }
173-
bool SetBitsPerSample(int bits) override { return sink_ && sink_->SetBitsPerSample(bits); }
174173
bool SetChannels(int channels) override { return sink_ && sink_->SetChannels(channels); }
175174
bool begin() override { return sink_ && sink_->begin(); }
176175
bool stop() override {
@@ -227,7 +226,6 @@ class SimpleLimiterAudioOutput : public AudioOutput {
227226
return sink_ && sink_->SetRate(hz);
228227
}
229228

230-
bool SetBitsPerSample(int bits) override { return sink_ && sink_->SetBitsPerSample(bits); }
231229
bool SetChannels(int channels) override { return sink_ && sink_->SetChannels(channels); }
232230
bool begin() override { return sink_ && sink_->begin(); }
233231

0 commit comments

Comments
 (0)