Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7366)

Unified Diff: chromecast/media/cma/backend/audio_decoder_wrapper.h

Issue 2712883006: [Chromecast] Add new volume control API to CastMediaShlib (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/media/cma/backend/audio_decoder_wrapper.h
diff --git a/chromecast/media/cma/backend/audio_decoder_wrapper.h b/chromecast/media/cma/backend/audio_decoder_wrapper.h
deleted file mode 100644
index 3a4ccf4c80552950e4bd965e9611379b38e69ff1..0000000000000000000000000000000000000000
--- a/chromecast/media/cma/backend/audio_decoder_wrapper.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMECAST_MEDIA_CMA_BACKEND_AUDIO_DECODER_WRAPPER_H_
-#define CHROMECAST_MEDIA_CMA_BACKEND_AUDIO_DECODER_WRAPPER_H_
-
-#include "base/macros.h"
-#include "chromecast/public/media/media_pipeline_backend.h"
-
-namespace chromecast {
-namespace media {
-
-class AudioDecoderWrapper : public MediaPipelineBackend::AudioDecoder {
- public:
- explicit AudioDecoderWrapper(
- MediaPipelineBackend::AudioDecoder* audio_decoder);
- ~AudioDecoderWrapper() override;
-
- // MediaPipelineBackend::AudioDecoder implementation:
- void SetDelegate(Delegate* delegate) override;
- MediaPipelineBackend::BufferStatus PushBuffer(
- CastDecoderBuffer* buffer) override;
- void GetStatistics(Statistics* statistics) override;
- bool SetConfig(const AudioConfig& config) override;
- bool SetVolume(float multiplier) override;
- RenderingDelay GetRenderingDelay() override;
-
- bool SetStreamTypeVolume(float stream_type_volume);
-
- private:
- MediaPipelineBackend::AudioDecoder* const audio_decoder_;
- float stream_type_volume_;
- float stream_volume_;
-
- DISALLOW_COPY_AND_ASSIGN(AudioDecoderWrapper);
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_MEDIA_CMA_BACKEND_AUDIO_DECODER_WRAPPER_H_
« no previous file with comments | « chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc ('k') | chromecast/media/cma/backend/audio_decoder_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698