Skip to content

Commit 7496aa5

Browse files
committed
CodecChain: addNotifyAudioChange
1 parent 71e1323 commit 7496aa5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/AudioTools/AudioCodecs/CodecChain.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ class CodecChain : public AudioDecoder, AudioEncoder {
6060
}
6161
}
6262

63+
void addNotifyAudioChange(AudioInfoSupport &bi) override {
64+
for (auto &stream : streams) {
65+
stream.addNotifyAudioChange(bi);
66+
}
67+
}
68+
6369
size_t write(const uint8_t *data, size_t len) override {
6470
if (streams.size() == 0) return 0;
6571
return streams[0].write(data, len);

0 commit comments

Comments
 (0)