OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/synchronization/waitable_event.h" | 6 #include "base/synchronization/waitable_event.h" |
7 #include "chromecast/base/metrics/cast_metrics_test_helper.cc" | 7 #include "chromecast/base/metrics/cast_metrics_test_helper.h" |
8 #include "chromecast/media/audio/cast_audio_manager.h" | 8 #include "chromecast/media/audio/cast_audio_manager.h" |
9 #include "chromecast/media/audio/cast_audio_output_stream.h" | 9 #include "chromecast/media/audio/cast_audio_output_stream.h" |
10 #include "chromecast/media/base/media_message_loop.h" | 10 #include "chromecast/media/base/media_message_loop.h" |
11 #include "chromecast/public/media/audio_pipeline_device.h" | 11 #include "chromecast/public/media/audio_pipeline_device.h" |
12 #include "chromecast/public/media/cast_decoder_buffer.h" | 12 #include "chromecast/public/media/cast_decoder_buffer.h" |
13 #include "chromecast/public/media/decoder_config.h" | 13 #include "chromecast/public/media/decoder_config.h" |
14 #include "chromecast/public/media/decrypt_context.h" | 14 #include "chromecast/public/media/decrypt_context.h" |
15 #include "chromecast/public/media/media_clock_device.h" | 15 #include "chromecast/public/media/media_clock_device.h" |
16 #include "chromecast/public/media/media_pipeline_backend.h" | 16 #include "chromecast/public/media/media_pipeline_backend.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 volume = GetStreamVolume(stream); | 582 volume = GetStreamVolume(stream); |
583 EXPECT_EQ(0.5, volume); | 583 EXPECT_EQ(0.5, volume); |
584 EXPECT_EQ(0.5f, audio_device->volume_multiplier()); | 584 EXPECT_EQ(0.5f, audio_device->volume_multiplier()); |
585 | 585 |
586 CloseStream(stream); | 586 CloseStream(stream); |
587 } | 587 } |
588 | 588 |
589 } // namespace | 589 } // namespace |
590 } // namespace media | 590 } // namespace media |
591 } // namespace chromecast | 591 } // namespace chromecast |
OLD | NEW |