Fix clang style warnings in webrtc/modules/audio_coding/neteq
Mostly this consists of marking functions with override when applicable, and moving function bodies from .h to .cc files. BUG=163 R=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/44109004 Cr-Commit-Position: refs/heads/master@{#8960}
This commit is contained in:
@ -55,14 +55,12 @@ class DtmfBuffer {
|
||||
};
|
||||
|
||||
// Set up the buffer for use at sample rate |fs_hz|.
|
||||
explicit DtmfBuffer(int fs_hz) {
|
||||
SetSampleRate(fs_hz);
|
||||
}
|
||||
explicit DtmfBuffer(int fs_hz);
|
||||
|
||||
virtual ~DtmfBuffer() {}
|
||||
virtual ~DtmfBuffer();
|
||||
|
||||
// Flushes the buffer.
|
||||
virtual void Flush() { buffer_.clear(); }
|
||||
virtual void Flush();
|
||||
|
||||
// Static method to parse 4 bytes from |payload| as a DTMF event (RFC 4733)
|
||||
// and write the parsed information into the struct |event|. Input variable
|
||||
@ -82,9 +80,9 @@ class DtmfBuffer {
|
||||
virtual bool GetEvent(uint32_t current_timestamp, DtmfEvent* event);
|
||||
|
||||
// Number of events in the buffer.
|
||||
virtual size_t Length() const { return buffer_.size(); }
|
||||
virtual size_t Length() const;
|
||||
|
||||
virtual bool Empty() const { return buffer_.empty(); }
|
||||
virtual bool Empty() const;
|
||||
|
||||
// Set a new sample rate.
|
||||
virtual int SetSampleRate(int fs_hz);
|
||||
|
||||
Reference in New Issue
Block a user