| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ |
| 6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ | 6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 int GetStreamType() const; | 43 int GetStreamType() const; |
| 44 void SetStreamTypeVolume(float stream_type_volume); | 44 void SetStreamTypeVolume(float stream_type_volume); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 std::unique_ptr<MediaPipelineBackend> backend_; | 47 std::unique_ptr<MediaPipelineBackend> backend_; |
| 48 const int stream_type_; | 48 const int stream_type_; |
| 49 std::unique_ptr<AudioDecoderWrapper> audio_decoder_wrapper_; | 49 std::unique_ptr<AudioDecoderWrapper> audio_decoder_wrapper_; |
| 50 float stream_type_volume_; | 50 float stream_type_volume_; |
| 51 bool is_initialized_; | 51 bool is_initialized_; |
| 52 bool have_video_decoder_; |
| 52 MediaPipelineBackendManager* const backend_manager_; | 53 MediaPipelineBackendManager* const backend_manager_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(MediaPipelineBackendWrapper); | 55 DISALLOW_COPY_AND_ASSIGN(MediaPipelineBackendWrapper); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace media | 58 } // namespace media |
| 58 } // namespace chromecast | 59 } // namespace chromecast |
| 59 | 60 |
| 60 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ | 61 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_BACKEND_WRAPPER_H_ |
| OLD | NEW |