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

Unified Diff: webrtc/modules/audio_coding/test/delay_test.cc

Issue 2750783004: Add mute state field to AudioFrame. (Closed)
Patch Set: Update new usages of AudioFrame::data_ Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/test/delay_test.cc
diff --git a/webrtc/modules/audio_coding/test/delay_test.cc b/webrtc/modules/audio_coding/test/delay_test.cc
index 846ac29dc08eccdb99635efaa2e2f3fc960a4f6a..ce244932c82bd1040553a8739710c69c31c686bd 100644
--- a/webrtc/modules/audio_coding/test/delay_test.cc
+++ b/webrtc/modules/audio_coding/test/delay_test.cc
@@ -209,7 +209,7 @@ class DelayTest {
acm_b_->PlayoutData10Ms(out_freq_hz_b, &audio_frame, &muted));
RTC_DCHECK(!muted);
out_file_b_.Write10MsData(
- audio_frame.data_,
+ audio_frame.data(),
audio_frame.samples_per_channel_ * audio_frame.num_channels_);
received_ts = channel_a2b_->LastInTimestamp();
rtc::Optional<uint32_t> playout_timestamp = acm_b_->PlayoutTimestamp();
« no previous file with comments | « webrtc/modules/audio_coding/test/TestStereo.cc ('k') | webrtc/modules/audio_coding/test/insert_packet_with_timing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698