OLD | NEW |
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 <stdint.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
6 #include "media/audio/alsa/alsa_output.h" | 9 #include "media/audio/alsa/alsa_output.h" |
7 #include "media/audio/alsa/alsa_wrapper.h" | 10 #include "media/audio/alsa/alsa_wrapper.h" |
8 #include "media/audio/alsa/audio_manager_alsa.h" | 11 #include "media/audio/alsa/audio_manager_alsa.h" |
9 #include "media/audio/fake_audio_log_factory.h" | 12 #include "media/audio/fake_audio_log_factory.h" |
10 #include "media/audio/mock_audio_source_callback.h" | 13 #include "media/audio/mock_audio_source_callback.h" |
11 #include "media/base/data_buffer.h" | 14 #include "media/base/data_buffer.h" |
12 #include "media/base/seekable_buffer.h" | 15 #include "media/base/seekable_buffer.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 | 853 |
851 // TODO(ajwong): Find a way to test whether or not another task has been | 854 // TODO(ajwong): Find a way to test whether or not another task has been |
852 // posted so we can verify that the Alsa code will indeed break the task | 855 // posted so we can verify that the Alsa code will indeed break the task |
853 // posting loop. | 856 // posting loop. |
854 | 857 |
855 test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed); | 858 test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed); |
856 test_stream->Close(); | 859 test_stream->Close(); |
857 } | 860 } |
858 | 861 |
859 } // namespace media | 862 } // namespace media |
OLD | NEW |