Skip to content

Commit 374adec

Browse files
committed
ADTS & MTS
1 parent bfa95b5 commit 374adec

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/AudioTools/AudioCodecs/CodecADTS.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class ADTSDecoder : public AudioDecoder {
211211
void setParseBufferSize(int size) { buffer.resize(size); }
212212

213213
/// Defines where the decoded result is written to
214-
virtual void setOutput(AudioStream &out_stream) {
214+
void setOutput(AudioStream &out_stream) override{
215215
if (p_dec) {
216216
p_dec->setOutput(out_stream);
217217
} else {
@@ -220,7 +220,7 @@ class ADTSDecoder : public AudioDecoder {
220220
}
221221

222222
/// Defines where the decoded result is written to
223-
virtual void setOutput(AudioOutput &out_stream) {
223+
void setOutput(AudioOutput &out_stream) override {
224224
if (p_dec) {
225225
p_dec->setOutput(out_stream);
226226
} else {
@@ -229,7 +229,7 @@ class ADTSDecoder : public AudioDecoder {
229229
}
230230

231231
/// Defines where the decoded result is written to
232-
virtual void setOutput(Print &out_stream) override {
232+
void setOutput(Print &out_stream) override {
233233
if (p_dec) {
234234
p_dec->setOutput(out_stream);
235235
} else {

src/AudioTools/AudioCodecs/CodecMTS.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class MTSDecoder : public AudioDecoder {
165165
}
166166

167167
/// Defines where the decoded result is written to
168-
virtual void setOutput(AudioStream &out_stream) {
168+
void setOutput(AudioStream &out_stream) override {
169169
if (p_dec) {
170170
p_dec->setOutput(out_stream);
171171
} else {
@@ -174,7 +174,7 @@ class MTSDecoder : public AudioDecoder {
174174
}
175175

176176
/// Defines where the decoded result is written to
177-
virtual void setOutput(AudioOutput &out_stream) {
177+
void setOutput(AudioOutput &out_stream) override {
178178
if (p_dec) {
179179
p_dec->setOutput(out_stream);
180180
} else {
@@ -183,7 +183,7 @@ class MTSDecoder : public AudioDecoder {
183183
}
184184

185185
/// Defines where the decoded result is written to
186-
virtual void setOutput(Print &out_stream) override {
186+
void setOutput(Print &out_stream) override {
187187
if (p_dec) {
188188
p_dec->setOutput(out_stream);
189189
} else {

0 commit comments

Comments
 (0)