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

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

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove gyp target for backend adapter Created 5 years, 2 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_pipeline_device_default.h
diff --git a/chromecast/media/cma/backend/audio_pipeline_device_default.h b/chromecast/media/cma/backend/audio_pipeline_device_default.h
deleted file mode 100644
index 814a0276a6fadecf23115040579fbd7af58c561d..0000000000000000000000000000000000000000
--- a/chromecast/media/cma/backend/audio_pipeline_device_default.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2015 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_PIPELINE_DEVICE_DEFAULT_H_
-#define CHROMECAST_MEDIA_CMA_BACKEND_AUDIO_PIPELINE_DEVICE_DEFAULT_H_
-
-#include <vector>
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/threading/thread_checker.h"
-#include "chromecast/public/media/audio_pipeline_device.h"
-#include "chromecast/public/media/decoder_config.h"
-
-namespace chromecast {
-namespace media {
-
-class MediaClockDevice;
-class MediaComponentDeviceDefault;
-struct MediaPipelineDeviceParams;
-
-class AudioPipelineDeviceDefault : public AudioPipelineDevice {
- public:
- AudioPipelineDeviceDefault(const MediaPipelineDeviceParams& params,
- MediaClockDevice* media_clock_device);
- ~AudioPipelineDeviceDefault() override;
-
- // AudioPipelineDevice implementation.
- void SetClient(Client* client) override;
- State GetState() const override;
- bool SetState(State new_state) override;
- bool SetStartPts(int64_t time_microseconds) override;
- FrameStatus PushFrame(DecryptContext* decrypt_context,
- CastDecoderBuffer* buffer,
- FrameStatusCB* completion_cb) override;
- RenderingDelay GetRenderingDelay() const override;
- bool SetConfig(const AudioConfig& config) override;
- void SetStreamVolumeMultiplier(float multiplier) override;
- bool GetStatistics(Statistics* stats) const override;
-
- private:
- scoped_ptr<MediaComponentDeviceDefault> pipeline_;
-
- AudioConfig config_;
- std::vector<uint8_t> config_extra_data_;
-
- base::ThreadChecker thread_checker_;
- DISALLOW_COPY_AND_ASSIGN(AudioPipelineDeviceDefault);
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_MEDIA_CMA_BACKEND_AUDIO_PIPELINE_DEVICE_DEFAULT_H_

Powered by Google App Engine
This is Rietveld 408576698