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

Unified Diff: webrtc/modules/audio_coding/test/insert_packet_with_timing.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
« no previous file with comments | « webrtc/modules/audio_coding/test/delay_test.cc ('k') | webrtc/modules/audio_coding/test/opus_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
diff --git a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
index 44ef9df7d9fa94f03461b57077560dcf298fe0dd..4fa4e5276c943f30780abaca3ed41cdfc6baabe3 100644
--- a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
+++ b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
@@ -147,7 +147,7 @@ class InsertPacketWithTiming {
receive_acm_->PlayoutData10Ms(static_cast<int>(FLAGS_output_fs_hz),
&frame_, &muted);
ASSERT_FALSE(muted);
- fwrite(frame_.data_, sizeof(frame_.data_[0]),
+ fwrite(frame_.data(), sizeof(*frame_.data()),
frame_.samples_per_channel_ * frame_.num_channels_, pcm_out_fid_);
*action |= kAudioPlayedOut;
}
« no previous file with comments | « webrtc/modules/audio_coding/test/delay_test.cc ('k') | webrtc/modules/audio_coding/test/opus_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698