Commit 50f5b3d9 authored by Stefan Westerfeld's avatar Stefan Westerfeld

HLS: add override declarations to fix clang++ warnings

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 75765051
...@@ -88,7 +88,7 @@ public: ...@@ -88,7 +88,7 @@ public:
int sample_rate() const override; int sample_rate() const override;
int n_channels() const override; int n_channels() const override;
Error write_frames (const std::vector<float>& frames) override; Error write_frames (const std::vector<float>& frames) override;
Error close(); Error close() override;
}; };
#endif /* AUDIOWMARK_HLS_OUTPUT_STREAM_HH */ #endif /* AUDIOWMARK_HLS_OUTPUT_STREAM_HH */
......
...@@ -102,13 +102,13 @@ public: ...@@ -102,13 +102,13 @@ public:
return wav_data->n_channels(); return wav_data->n_channels();
} }
Error Error
write_frames (const std::vector<float>& frames) write_frames (const std::vector<float>& frames) override
{ {
samples.insert (samples.end(), frames.begin(), frames.end()); samples.insert (samples.end(), frames.begin(), frames.end());
return Error::Code::NONE; return Error::Code::NONE;
} }
Error Error
close() close() override
{ {
wav_data->set_samples (samples); // only do this once at end for performance reasons wav_data->set_samples (samples); // only do this once at end for performance reasons
return Error::Code::NONE; return Error::Code::NONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment