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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "base/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
7 #include "media/audio/linux/alsa_output.h" | 7 #include "media/audio/linux/alsa_output.h" |
8 #include "media/audio/linux/alsa_wrapper.h" | 8 #include "media/audio/linux/alsa_wrapper.h" |
9 #include "media/audio/linux/audio_manager_linux.h" | 9 #include "media/audio/linux/audio_manager_linux.h" |
10 #include "media/base/data_buffer.h" | 10 #include "media/base/data_buffer.h" |
11 #include "media/base/seekable_buffer.h" | 11 #include "media/base/seekable_buffer.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using testing::_; | 15 using testing::_; |
16 using testing::AllOf; | 16 using testing::AllOf; |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 | 859 |
860 // TODO(ajwong): Find a way to test whether or not another task has been | 860 // TODO(ajwong): Find a way to test whether or not another task has been |
861 // posted so we can verify that the Alsa code will indeed break the task | 861 // posted so we can verify that the Alsa code will indeed break the task |
862 // posting loop. | 862 // posting loop. |
863 | 863 |
864 test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed); | 864 test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed); |
865 test_stream->Close(); | 865 test_stream->Close(); |
866 } | 866 } |
867 | 867 |
868 } // namespace media | 868 } // namespace media |
OLD | NEW |