Skip to content

Commit 98b9c9f

Browse files
committed
EncoderAudioOutput::being(AudioInfo) must updated encoder
1 parent 4555762 commit 98b9c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/AudioCodecs/AudioEncoded.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class EncodedAudioOutput : public ModifyingOutput {
175175

176176
/// Starts the processing - sets the status to active
177177
virtual bool begin(AudioInfo newInfo) override {
178-
cfg = newInfo;
178+
setAudioInfo(newInfo);
179179
return begin();
180180
}
181181

0 commit comments

Comments
 (0)