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

Side by Side Diff: content/renderer/media/webrtc_audio_capturer_unittest.cc

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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 "base/logging.h" 5 #include "base/logging.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "content/public/renderer/media_stream_audio_sink.h" 7 #include "content/public/renderer/media_stream_audio_sink.h"
8 #include "content/renderer/media/mock_constraint_factory.h" 8 #include "content/renderer/media/mock_constraint_factory.h"
9 #include "content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h" 9 #include "content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h"
10 #include "content/renderer/media/webrtc_audio_capturer.h" 10 #include "content/renderer/media/webrtc_audio_capturer.h"
11 #include "content/renderer/media/webrtc_local_audio_track.h" 11 #include "content/renderer/media/webrtc_local_audio_track.h"
12 #include "media/audio/audio_parameters.h"
13 #include "media/base/audio_bus.h" 12 #include "media/base/audio_bus.h"
13 #include "media/base/audio_parameters.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" 16 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
17 17
18 using ::testing::_; 18 using ::testing::_;
19 using ::testing::AtLeast; 19 using ::testing::AtLeast;
20 20
21 namespace content { 21 namespace content {
22 22
23 namespace { 23 namespace {
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 WebRtcAudioCapturer::CreateCapturer( 143 WebRtcAudioCapturer::CreateCapturer(
144 0, StreamDeviceInfo(MEDIA_DEVICE_AUDIO_CAPTURE, "", "", 144 0, StreamDeviceInfo(MEDIA_DEVICE_AUDIO_CAPTURE, "", "",
145 params_.sample_rate(), params_.channel_layout(), 145 params_.sample_rate(), params_.channel_layout(),
146 params_.frames_per_buffer()), 146 params_.frames_per_buffer()),
147 constraint_factory.CreateWebMediaConstraints(), NULL, NULL)); 147 constraint_factory.CreateWebMediaConstraints(), NULL, NULL));
148 EXPECT_TRUE(capturer.get() == NULL); 148 EXPECT_TRUE(capturer.get() == NULL);
149 } 149 }
150 150
151 151
152 } // namespace content 152 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc/webrtc_audio_sink_adapter.h ('k') | content/renderer/media/webrtc_audio_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698