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

Unified Diff: media/audio/mac/audio_auhal_mac.cc

Issue 2278483002: Extending audio rendering traces on Mac with rebuffering info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename buffers sizes Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_auhal_mac.cc
diff --git a/media/audio/mac/audio_auhal_mac.cc b/media/audio/mac/audio_auhal_mac.cc
index 928831076378a158f6baf0ad8c55c09f29062cac..c02098c2346e6bfb232a357c6de8e1f652e9d314 100644
--- a/media/audio/mac/audio_auhal_mac.cc
+++ b/media/audio/mac/audio_auhal_mac.cc
@@ -211,7 +211,8 @@ OSStatus AUHALStream::Render(
UInt32 bus_number,
UInt32 number_of_frames,
AudioBufferList* data) {
- TRACE_EVENT0("audio", "AUHALStream::Render");
+ TRACE_EVENT2("audio", "AUHALStream::Render", "input buffer size",
+ number_of_frames_, "output buffer size", number_of_frames);
UpdatePlayoutTimestamp(output_time_stamp);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698