Skip to content

Commit 3e3af35

Browse files
committed
Some missing overrides
1 parent fcc8488 commit 3e3af35

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/AudioTools/AudioStreams.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class GeneratedSoundStream : public AudioStreamX, public AudioBaseInfoSource {
245245
AudioBaseInfo defaultConfig() { return this->generator_ptr->defaultConfig(); }
246246

247247
/// start the processing
248-
bool begin() {
248+
bool begin() override {
249249
LOGD(LOG_METHOD);
250250
generator_ptr->begin();
251251
if (audioBaseInfoDependent != nullptr)
@@ -265,7 +265,7 @@ class GeneratedSoundStream : public AudioStreamX, public AudioBaseInfoSource {
265265
}
266266

267267
/// stop the processing
268-
void end() {
268+
void end() override {
269269
LOGD(LOG_METHOD);
270270
generator_ptr->end();
271271
active = false;

src/AudioTools/Resample.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ class ResampleParameterEstimator {
293293
};
294294
/**
295295
* @brief Configuration for ResampleStream
296+
* @author Phil Schatzmann
297+
* @copyright GPLv3
296298
*
297299
*/
298300
struct ResampleConfig : public AudioBaseInfo {
@@ -342,7 +344,7 @@ class ResampleStream : public AudioStreamX {
342344
}
343345

344346
// Recalculates the up and downsamplers
345-
bool begin() {
347+
bool begin() override {
346348
if (channels==0){
347349
LOGE("channels are not defined")
348350
return false;

0 commit comments

Comments
 (0)