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

Side by Side Diff: media/renderers/audio_renderer_impl_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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 // 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/bind.h" 5 #include "base/bind.h"
6 #include "base/callback_helpers.h" 6 #include "base/callback_helpers.h"
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/macros.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
10 #include "base/test/simple_test_tick_clock.h" 11 #include "base/test/simple_test_tick_clock.h"
11 #include "media/base/audio_buffer_converter.h" 12 #include "media/base/audio_buffer_converter.h"
12 #include "media/base/audio_hardware_config.h" 13 #include "media/base/audio_hardware_config.h"
13 #include "media/base/audio_splicer.h" 14 #include "media/base/audio_splicer.h"
14 #include "media/base/fake_audio_renderer_sink.h" 15 #include "media/base/fake_audio_renderer_sink.h"
15 #include "media/base/gmock_callback_support.h" 16 #include "media/base/gmock_callback_support.h"
16 #include "media/base/media_util.h" 17 #include "media/base/media_util.h"
17 #include "media/base/mock_filters.h" 18 #include "media/base/mock_filters.h"
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 // Advance far enough that we shouldn't be clamped to current time (tested 884 // Advance far enough that we shouldn't be clamped to current time (tested
884 // already above). 885 // already above).
885 tick_clock_->Advance(kOneSecond); 886 tick_clock_->Advance(kOneSecond);
886 EXPECT_EQ( 887 EXPECT_EQ(
887 current_time + timestamp_helper.GetFrameDuration(frames_to_consume.value), 888 current_time + timestamp_helper.GetFrameDuration(frames_to_consume.value),
888 CurrentMediaWallClockTime(&is_time_moving)); 889 CurrentMediaWallClockTime(&is_time_moving));
889 EXPECT_TRUE(is_time_moving); 890 EXPECT_TRUE(is_time_moving);
890 } 891 }
891 892
892 } // namespace media 893 } // namespace media
OLDNEW
« no previous file with comments | « media/renderers/audio_renderer_impl.cc ('k') | media/renderers/gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698