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

Side by Side Diff: media/blink/webaudiosourceprovider_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h>
6
7 #include "base/macros.h"
5 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
6 #include "base/run_loop.h" 9 #include "base/run_loop.h"
7 #include "media/audio/audio_parameters.h" 10 #include "media/audio/audio_parameters.h"
8 #include "media/base/fake_audio_render_callback.h" 11 #include "media/base/fake_audio_render_callback.h"
9 #include "media/base/mock_audio_renderer_sink.h" 12 #include "media/base/mock_audio_renderer_sink.h"
10 #include "media/blink/webaudiosourceprovider_impl.h" 13 #include "media/blink/webaudiosourceprovider_impl.h"
11 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h" 16 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h"
14 17
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 234
232 // Stop() should return silence. 235 // Stop() should return silence.
233 wasp_impl_->Stop(); 236 wasp_impl_->Stop();
234 bus1->channel(0)[0] = 1; 237 bus1->channel(0)[0] = 1;
235 bus2->Zero(); 238 bus2->Zero();
236 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); 239 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer());
237 ASSERT_TRUE(CompareBusses(bus1.get(), bus2.get())); 240 ASSERT_TRUE(CompareBusses(bus1.get(), bus2.get()));
238 } 241 }
239 242
240 } // namespace media 243 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.cc ('k') | media/blink/webcontentdecryptionmodule_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698