Skip to content

Commit

Permalink
missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Feb 24, 2022
1 parent 8c965e4 commit 5635d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AudioTools/AudioStreams.h
Original file line number Diff line number Diff line change
Expand Up @@ -679,17 +679,17 @@ class VolumeStream : public AudioStreamX {
}

/// Provides the nubmer of bytes we can write
virtual int availableForWrite() {
virtual int availableForWrite() override {
return p_out==nullptr? 0 : p_out->availableForWrite();
}

/// Provides the nubmer of bytes we can write
virtual int available() {
virtual int available() override {
return p_in==nullptr? 0 : p_in->available();
}

/// Detines the Audio info - The bits_per_sample are critical to work properly!
void setAudioInfo(AudioBaseInfo info){
void setAudioInfo(AudioBaseInfo info) override {
LOGD(LOG_METHOD);
this->info = info;
max_value = NumberConverter::maxValue(info.bits_per_sample);
Expand Down

0 comments on commit 5635d07

Please sign in to comment.