| OLD | NEW |
| 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 <cmath> | 5 #include <cmath> |
| 6 | 6 |
| 7 #include "base/logging.h" |
| 7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "media/audio/audio_io.h" | 9 #include "media/audio/audio_io.h" |
| 9 #include "media/audio/audio_manager_base.h" | 10 #include "media/audio/audio_manager_base.h" |
| 10 #include "media/audio/audio_util.h" | 11 #include "media/audio/audio_util.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 13 |
| 13 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 14 #include "base/win/scoped_com_initializer.h" | 15 #include "base/win/scoped_com_initializer.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Restores the volume to the original value. | 161 // Restores the volume to the original value. |
| 161 ais->SetVolume(original_volume); | 162 ais->SetVolume(original_volume); |
| 162 current_volume = ais->GetVolume(); | 163 current_volume = ais->GetVolume(); |
| 163 EXPECT_EQ(original_volume, current_volume); | 164 EXPECT_EQ(original_volume, current_volume); |
| 164 | 165 |
| 165 ais->Close(); | 166 ais->Close(); |
| 166 } | 167 } |
| 167 } | 168 } |
| 168 | 169 |
| 169 } // namespace media | 170 } // namespace media |
| OLD | NEW |