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

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

Issue 1863993002: Move setting of AudioFrame::timestamp_ into NetEq (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@neteq-empty-playout-ts
Patch Set: Created 4 years, 8 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // Same as RtcpStatistics(), but does not reset anything. 153 // Same as RtcpStatistics(), but does not reset anything.
154 void GetRtcpStatisticsNoReset(RtcpStatistics* stats) override; 154 void GetRtcpStatisticsNoReset(RtcpStatistics* stats) override;
155 155
156 // Enables post-decode VAD. When enabled, GetAudio() will return 156 // Enables post-decode VAD. When enabled, GetAudio() will return
157 // kOutputVADPassive when the signal contains no speech. 157 // kOutputVADPassive when the signal contains no speech.
158 void EnableVad() override; 158 void EnableVad() override;
159 159
160 // Disables post-decode VAD. 160 // Disables post-decode VAD.
161 void DisableVad() override; 161 void DisableVad() override;
162 162
163 rtc::Optional<uint32_t> GetPlayoutTimestamp() override; 163 rtc::Optional<uint32_t> GetPlayoutTimestamp() const override;
164 164
165 int last_output_sample_rate_hz() const override; 165 int last_output_sample_rate_hz() const override;
166 166
167 int SetTargetNumberOfChannels() override; 167 int SetTargetNumberOfChannels() override;
168 168
169 int SetTargetSampleRate() override; 169 int SetTargetSampleRate() override;
170 170
171 // Returns the error code for the last occurred error. If no error has 171 // Returns the error code for the last occurred error. If no error has
172 // occurred, 0 is returned. 172 // occurred, 0 is returned.
173 int LastError() const override; 173 int LastError() const override;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 bool nack_enabled_ GUARDED_BY(crit_sect_); 389 bool nack_enabled_ GUARDED_BY(crit_sect_);
390 AudioFrame::VADActivity last_vad_activity_ GUARDED_BY(crit_sect_) = 390 AudioFrame::VADActivity last_vad_activity_ GUARDED_BY(crit_sect_) =
391 AudioFrame::kVadPassive; 391 AudioFrame::kVadPassive;
392 392
393 private: 393 private:
394 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 394 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
395 }; 395 };
396 396
397 } // namespace webrtc 397 } // namespace webrtc
398 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 398 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698