summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/audio_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/speech/audio_encoder.cc')
-rw-r--r--content/browser/speech/audio_encoder.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/speech/audio_encoder.cc b/content/browser/speech/audio_encoder.cc
index cf9f72d..09b5dca 100644
--- a/content/browser/speech/audio_encoder.cc
+++ b/content/browser/speech/audio_encoder.cc
@@ -24,9 +24,9 @@ const int kFLACCompressionLevel = 0; // 0 for speed
class FLACEncoder : public AudioEncoder {
public:
FLACEncoder(int sampling_rate, int bits_per_sample);
- virtual ~FLACEncoder();
- virtual void Encode(const AudioChunk& raw_audio) override;
- virtual void Flush() override;
+ ~FLACEncoder() override;
+ void Encode(const AudioChunk& raw_audio) override;
+ void Flush() override;
private:
static FLAC__StreamEncoderWriteStatus WriteCallback(
@@ -113,9 +113,9 @@ COMPILE_ASSERT(kMaxSpeexFrameLength <= 0xFF, invalidLength);
class SpeexEncoder : public AudioEncoder {
public:
explicit SpeexEncoder(int sampling_rate, int bits_per_sample);
- virtual ~SpeexEncoder();
- virtual void Encode(const AudioChunk& raw_audio) override;
- virtual void Flush() override {}
+ ~SpeexEncoder() override;
+ void Encode(const AudioChunk& raw_audio) override;
+ void Flush() override {}
private:
void* encoder_state_;