OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/env_var.h" | |
6 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
7 #include "base/waitable_event.h" | 6 #include "base/waitable_event.h" |
8 #include "media/audio/audio_input_controller.h" | 7 #include "media/audio/audio_input_controller.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
11 | 10 |
12 using ::testing::_; | 11 using ::testing::_; |
13 using ::testing::AtLeast; | 12 using ::testing::AtLeast; |
14 using ::testing::Exactly; | 13 using ::testing::Exactly; |
15 using ::testing::InvokeWithoutArgs; | 14 using ::testing::InvokeWithoutArgs; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 scoped_refptr<AudioInputController> controller = AudioInputController::Create( | 118 scoped_refptr<AudioInputController> controller = AudioInputController::Create( |
120 &event_handler, AudioManager::AUDIO_MOCK, kChannels, | 119 &event_handler, AudioManager::AUDIO_MOCK, kChannels, |
121 kSampleRate, kBitsPerSample, kSamplesPerPacket); | 120 kSampleRate, kBitsPerSample, kSamplesPerPacket); |
122 ASSERT_TRUE(controller.get()); | 121 ASSERT_TRUE(controller.get()); |
123 | 122 |
124 controller->Close(); | 123 controller->Close(); |
125 controller->Close(); | 124 controller->Close(); |
126 } | 125 } |
127 | 126 |
128 } // namespace media | 127 } // namespace media |
OLD | NEW |