Skip to content

Commit 4ebb883

Browse files
committed
VS1003 reading - support for channels
1 parent 2c9be20 commit 4ebb883

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AudioLibs/VS1053Stream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ class VS1053Stream : public AudioStreamX {
460460
LOGI(LOG_METHOD);
461461
VS1053Recording rec;
462462
rec.setSampleRate(cfg.sample_rate);
463+
rec.setChannels(cfg.channels);
463464
rec.setInput(cfg.input_device);
464465
p_vs1053->beginInput(rec);
465466
return true;

0 commit comments

Comments
 (0)