| 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 "chromecast/media/cma/pipeline/audio_decoder_software_wrapper.h" | 5 #include "chromecast/media/cma/pipeline/audio_decoder_software_wrapper.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "chromecast/media/cma/base/decoder_buffer_base.h" | 10 #include "chromecast/media/cma/base/decoder_buffer_base.h" |
| 11 | 11 |
| 12 namespace chromecast { | 12 namespace chromecast { |
| 13 namespace media { | 13 namespace media { |
| 14 | 14 |
| 15 AudioDecoderSoftwareWrapper::AudioDecoderSoftwareWrapper( | 15 AudioDecoderSoftwareWrapper::AudioDecoderSoftwareWrapper( |
| 16 MediaPipelineBackend::AudioDecoder* backend_decoder) | 16 MediaPipelineBackend::AudioDecoder* backend_decoder) |
| 17 : backend_decoder_(backend_decoder), | 17 : backend_decoder_(backend_decoder), |
| 18 delegate_(nullptr), | 18 delegate_(nullptr), |
| 19 weak_factory_(this) { | 19 weak_factory_(this) { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 DCHECK(delegate_); | 135 DCHECK(delegate_); |
| 136 delegate_->OnKeyStatusChanged(key_id, key_status, system_code); | 136 delegate_->OnKeyStatusChanged(key_id, key_status, system_code); |
| 137 } | 137 } |
| 138 | 138 |
| 139 void AudioDecoderSoftwareWrapper::OnVideoResolutionChanged(const Size& size) { | 139 void AudioDecoderSoftwareWrapper::OnVideoResolutionChanged(const Size& size) { |
| 140 NOTREACHED(); | 140 NOTREACHED(); |
| 141 } | 141 } |
| 142 | 142 |
| 143 } // namespace media | 143 } // namespace media |
| 144 } // namespace chromecast | 144 } // namespace chromecast |
| OLD | NEW |