File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ class AdapterAudioStreamToAudioOutput : public AudioOutputAdapter {
269
269
// / If true we need to release the related memory in the destructor
270
270
virtual bool isDeletable () { return true ; }
271
271
272
- operator bool () { return *p_stream; }
272
+ operator bool () override { return *p_stream; }
273
273
274
274
protected:
275
275
AudioStream *p_stream = nullptr ;
@@ -287,11 +287,11 @@ class AdapterAudioOutputToAudioStream : public AudioStream {
287
287
288
288
void setOutput (AudioOutput &stream) { p_stream = &stream; }
289
289
290
- void setAudioInfo (AudioInfo info) { p_stream->setAudioInfo (info); }
290
+ void setAudioInfo (AudioInfo info) override { p_stream->setAudioInfo (info); }
291
291
292
292
AudioInfo audioInfo () override { return p_stream->audioInfo (); }
293
293
294
- size_t write (const uint8_t *data, size_t len) {
294
+ size_t write (const uint8_t *data, size_t len) override {
295
295
return p_stream->write (data, len);
296
296
}
297
297
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ class AudioOutput : public Print,
77
77
return true ;
78
78
}
79
79
virtual void end () { is_active = false ; }
80
-
81
- operator bool () { return is_active; }
80
+
81
+ virtual operator bool () { return is_active; }
82
82
83
83
protected:
84
84
int tmpPos = 0 ;
You can’t perform that action at this time.
0 commit comments