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:
int sample_rate() const override;
int n_channels() const override;
Error write_frames (const std::vector<float>& frames) override;
Error close();
Error close() override;
};
#endif /* AUDIOWMARK_HLS_OUTPUT_STREAM_HH */
......
......@@ -102,13 +102,13 @@ public:
return wav_data->n_channels();
}
Error
write_frames (const std::vector<float>& frames)
write_frames (const std::vector<float>& frames) override
{
samples.insert (samples.end(), frames.begin(), frames.end());
return Error::Code::NONE;
}
Error
close()
close() override
{
wav_data->set_samples (samples); // only do this once at end for performance reasons
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