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:
Karl Wiberg
2015-04-09 15:44:22 +02:00
parent 411777584c
commit 7f6c4d42a2
30 changed files with 209 additions and 116 deletions

View File

@ -73,7 +73,7 @@ class NetEqImpl : public webrtc::NetEq {
PreemptiveExpandFactory* preemptive_expand_factory,
bool create_components = true);
virtual ~NetEqImpl();
~NetEqImpl() override;
// Inserts a new packet into NetEq. The |receive_timestamp| is an indication
// of the time when the packet was received, and should be measured with
@ -133,11 +133,11 @@ class NetEqImpl : public webrtc::NetEq {
int LeastRequiredDelayMs() const override;
int SetTargetDelay() override { return kNotImplemented; }
int SetTargetDelay() override;
int TargetDelay() override { return kNotImplemented; }
int TargetDelay() override;
int CurrentDelay() override { return kNotImplemented; }
int CurrentDelay() override;
// Sets the playout mode to |mode|.
// Deprecated.
@ -174,9 +174,9 @@ class NetEqImpl : public webrtc::NetEq {
bool GetPlayoutTimestamp(uint32_t* timestamp) override;
int SetTargetNumberOfChannels() override { return kNotImplemented; }
int SetTargetNumberOfChannels() override;
int SetTargetSampleRate() override { return kNotImplemented; }
int SetTargetSampleRate() override;
// Returns the error code for the last occurred error. If no error has
// occurred, 0 is returned.