Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Side by Side Diff: webrtc/modules/audio_coding/neteq/decision_logic_fax.h

Issue 1914303004: NetEq: Move counting of generated CNG samples from DecisionLogic (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@delay-mgr-tick-timer
Patch Set: Renaming parameter to generated_noise_samples Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // supplied in |prev_mode|. If there is a DTMF event to play, |play_dtmf| 43 // supplied in |prev_mode|. If there is a DTMF event to play, |play_dtmf|
44 // should be set to true. The output variable |reset_decoder| will be set to 44 // should be set to true. The output variable |reset_decoder| will be set to
45 // true if a reset is required; otherwise it is left unchanged (i.e., it can 45 // true if a reset is required; otherwise it is left unchanged (i.e., it can
46 // remain true if it was true before the call). 46 // remain true if it was true before the call).
47 Operations GetDecisionSpecialized(const SyncBuffer& sync_buffer, 47 Operations GetDecisionSpecialized(const SyncBuffer& sync_buffer,
48 const Expand& expand, 48 const Expand& expand,
49 size_t decoder_frame_length, 49 size_t decoder_frame_length,
50 const RTPHeader* packet_header, 50 const RTPHeader* packet_header,
51 Modes prev_mode, 51 Modes prev_mode,
52 bool play_dtmf, 52 bool play_dtmf,
53 bool* reset_decoder) override; 53 bool* reset_decoder,
54 size_t generated_noise_samples) override;
54 55
55 private: 56 private:
56 RTC_DISALLOW_COPY_AND_ASSIGN(DecisionLogicFax); 57 RTC_DISALLOW_COPY_AND_ASSIGN(DecisionLogicFax);
57 }; 58 };
58 59
59 } // namespace webrtc 60 } // namespace webrtc
60 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_FAX_H_ 61 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_FAX_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/decision_logic.cc ('k') | webrtc/modules/audio_coding/neteq/decision_logic_fax.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698