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

Side by Side Diff: media/base/audio_bus_unittest.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/android/media_codec_bridge.cc ('k') | media/base/audio_converter_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/stringprintf.h" 5 #include "base/strings/stringprintf.h"
6 #include "base/time.h" 6 #include "base/time.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "media/audio/audio_parameters.h" 8 #include "media/audio/audio_parameters.h"
9 #include "media/base/audio_bus.h" 9 #include "media/base/audio_bus.h"
10 #include "media/base/channel_layout.h" 10 #include "media/base/channel_layout.h"
11 #include "media/base/fake_audio_render_callback.h" 11 #include "media/base/fake_audio_render_callback.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace media { 14 namespace media {
15 15
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 printf("ToInterleaved int32 took %.2fms.\n", total_time_ms); 463 printf("ToInterleaved int32 took %.2fms.\n", total_time_ms);
464 464
465 start = base::TimeTicks::HighResNow(); 465 start = base::TimeTicks::HighResNow();
466 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size); 466 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size);
467 total_time_ms = (base::TimeTicks::HighResNow() - start).InMillisecondsF(); 467 total_time_ms = (base::TimeTicks::HighResNow() - start).InMillisecondsF();
468 printf("FromInterleaved int32 took %.2fms.\n", total_time_ms); 468 printf("FromInterleaved int32 took %.2fms.\n", total_time_ms);
469 } 469 }
470 } 470 }
471 471
472 } // namespace media 472 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/media_codec_bridge.cc ('k') | media/base/audio_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698