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 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ |
6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ | 6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h" | 10 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h" |
11 #include "chromecast/media/cma/decoder/cast_audio_decoder.h" | 11 #include "chromecast/media/cma/decoder/cast_audio_decoder.h" |
12 #include "chromecast/public/media/decoder_config.h" | 12 #include "chromecast/public/media/decoder_config.h" |
13 #include "chromecast/public/media/media_pipeline_backend.h" | 13 #include "chromecast/public/media/media_pipeline_backend.h" |
14 #include "chromecast/public/media/media_pipeline_device_params.h" | 14 #include "chromecast/public/media/media_pipeline_device_params.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
18 class Thread; | |
19 } // namespace base | 18 } // namespace base |
20 | 19 |
21 namespace chromecast { | 20 namespace chromecast { |
22 namespace media { | 21 namespace media { |
23 class DecoderBufferBase; | 22 class DecoderBufferBase; |
24 class MediaPipelineBackendAlsa; | 23 class MediaPipelineBackendAlsa; |
25 | 24 |
26 class AudioDecoderAlsa : public MediaPipelineBackend::AudioDecoder, | 25 class AudioDecoderAlsa : public MediaPipelineBackend::AudioDecoder, |
27 public StreamMixerAlsaInput::Delegate { | 26 public StreamMixerAlsaInput::Delegate { |
28 public: | 27 public: |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 84 |
86 base::WeakPtrFactory<AudioDecoderAlsa> weak_factory_; | 85 base::WeakPtrFactory<AudioDecoderAlsa> weak_factory_; |
87 | 86 |
88 DISALLOW_COPY_AND_ASSIGN(AudioDecoderAlsa); | 87 DISALLOW_COPY_AND_ASSIGN(AudioDecoderAlsa); |
89 }; | 88 }; |
90 | 89 |
91 } // namespace media | 90 } // namespace media |
92 } // namespace chromecast | 91 } // namespace chromecast |
93 | 92 |
94 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ | 93 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_DECODER_ALSA_H_ |
OLD | NEW |