Commit 14f1be35 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Add a few override declarations to avoid clang++ warnings.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent f19a718f
......@@ -44,7 +44,7 @@ public:
~MP3InputStream();
Error open (const std::string& filename);
Error read_frames (std::vector<float>& samples, size_t count);
Error read_frames (std::vector<float>& samples, size_t count) override;
void close();
int bit_depth() const override;
......
......@@ -45,7 +45,7 @@ public:
Error open (const std::string& filename, const RawFormat& format);
Error write_frames (const std::vector<float>& frames) override;
Error close();
Error close() override;
};
#endif /* AUDIOWMARK_RAW_OUTPUT_STREAM_HH */
......@@ -43,11 +43,11 @@ public:
~SFInputStream();
Error open (const std::string& filename);
Error read_frames (std::vector<float>& samples, size_t count);
Error read_frames (std::vector<float>& samples, size_t count) override;
void close();
int
n_channels() const
n_channels() const override
{
return m_n_channels;
}
......
......@@ -44,7 +44,7 @@ public:
Error open (int n_channels, int sample_rate, int bit_depth, size_t n_frames);
Error write_frames (const std::vector<float>& frames) override;
Error close();
Error close() override;
int sample_rate() const override;
int bit_depth() const override;
int n_channels() const override;
......
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