Skip to content

Commit db854f2

Browse files
committed
VS1053Stream: fix setAudioInfo
1 parent e8a9b07 commit db854f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioTools/AudioLibs/VS1053Stream.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ class VS1053Stream : public AudioStream, public VolumeSupport {
116116
/// defines the default configuration that is used with the next begin()
117117
void setAudioInfo(VS1053Config c) {
118118
cfg = c;
119-
notifyAudioChange(cfg);
119+
AudioStream::setAudioInfo(cfg);
120120
}
121121

122122
/// Updates the AudioInfo (sample rate, bits, channels)
123123
void setAudioInfo(AudioInfo c) {
124124
cfg.copyFrom(c);
125-
notifyAudioChange(cfg);
125+
AudioStream::setAudioInfo(cfg);
126126
}
127127

128128
/// Starts with the default config or restarts

0 commit comments

Comments
 (0)