| Index: webrtc/modules/audio_coding/neteq/decision_logic_normal.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/decision_logic_normal.h b/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
|
| index 7465906a3814c0f77aadf23faf723f085b24f15a..57aa13bf8ba01c5613a3e4aecf6c23d803eb2cae 100644
|
| --- a/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
|
| +++ b/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
|
| @@ -54,7 +54,8 @@ class DecisionLogicNormal : public DecisionLogic {
|
| const RTPHeader* packet_header,
|
| Modes prev_mode,
|
| bool play_dtmf,
|
| - bool* reset_decoder) override;
|
| + bool* reset_decoder,
|
| + size_t generated_noise_samples) override;
|
|
|
| // Returns the operation to do given that the expected packet is not
|
| // available, but a packet further into the future is at hand.
|
| @@ -65,7 +66,8 @@ class DecisionLogicNormal : public DecisionLogic {
|
| Modes prev_mode,
|
| uint32_t target_timestamp,
|
| uint32_t available_timestamp,
|
| - bool play_dtmf);
|
| + bool play_dtmf,
|
| + size_t generated_noise_samples);
|
|
|
| // Returns the operation to do given that the expected packet is available.
|
| virtual Operations ExpectedPacketAvailable(Modes prev_mode, bool play_dtmf);
|
| @@ -77,8 +79,10 @@ class DecisionLogicNormal : public DecisionLogic {
|
| private:
|
| // Returns the operation given that the next available packet is a comfort
|
| // noise payload (RFC 3389 only, not codec-internal).
|
| - Operations CngOperation(Modes prev_mode, uint32_t target_timestamp,
|
| - uint32_t available_timestamp);
|
| + Operations CngOperation(Modes prev_mode,
|
| + uint32_t target_timestamp,
|
| + uint32_t available_timestamp,
|
| + size_t generated_noise_samples);
|
|
|
| // Checks if enough time has elapsed since the last successful timescale
|
| // operation was done (i.e., accelerate or preemptive expand).
|
|
|