Skip to content

Commit d7f24d1

Browse files
committed
cmake compile warnings
1 parent 06f9fc4 commit d7f24d1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/AudioTools/AudioOutput.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ template <typename T> class CsvOutput : public AudioOutput {
131131
}
132132

133133
/// Starts the processing with the defined number of channels
134-
bool begin(AudioInfo info) {
134+
bool begin(AudioInfo info) override {
135135
return begin(info.channels);
136136
}
137137

@@ -151,7 +151,7 @@ template <typename T> class CsvOutput : public AudioOutput {
151151

152152

153153
/// defines the number of channels
154-
virtual void setAudioInfo(AudioInfo info) {
154+
virtual void setAudioInfo(AudioInfo info) override {
155155
TRACEI();
156156
this->is_active = true;
157157
info.logInfo();
@@ -190,7 +190,7 @@ template <typename T> class CsvOutput : public AudioOutput {
190190
return len;
191191
}
192192

193-
int availableForWrite() { return 1024; }
193+
int availableForWrite() override { return 1024; }
194194

195195
protected:
196196
T *data_ptr;

src/AudioTools/BaseConverter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class BaseConverter {
2626
public:
2727
BaseConverter() = default;
2828
BaseConverter(BaseConverter const&) = delete;
29+
virtual ~BaseConverter() = default;
30+
2931
BaseConverter& operator=(BaseConverter const&) = delete;
3032

3133
virtual size_t convert(uint8_t *src, size_t size) = 0;

0 commit comments

Comments
 (0)