Chromium Code Reviews| Index: chromecast/public/media/media_pipeline_backend.h |
| diff --git a/chromecast/public/media/media_pipeline_backend.h b/chromecast/public/media/media_pipeline_backend.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a643c00fa81081140a2dd322d3fbde4289ce3190 |
| --- /dev/null |
| +++ b/chromecast/public/media/media_pipeline_backend.h |
| @@ -0,0 +1,35 @@ |
| +// 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_PUBLIC_MEDIA_MEDIA_PIPELINE_BACKEND_H_ |
| +#define CHROMECAST_PUBLIC_MEDIA_MEDIA_PIPELINE_BACKEND_H_ |
| + |
| +namespace chromecast { |
| +namespace media { |
| + |
| +class AudioPipelineDevice; |
| +class MediaClockDevice; |
| +class MediaPipelineDeviceParams; |
| +class VideoPipelineDevice; |
| + |
| +// Interface for creating and managing ownership of platform-specific clock, |
| +// audio and video devices. The pipeline owns the MediaPipelineBackend for |
| +// as long as they are needed and the implementation is responsible for |
| +// tearing down the individual components correctly when it is destroyed. |
| +// A new MediaPipelineBackend will be instantiated for each media player |
| +// instance. |
| +class MediaPipelineBackend { |
| + public: |
| + MediaPipelineBackend() {} |
|
byungchul
2015/07/27 18:22:23
not necessary
halliwell
2015/07/28 02:19:36
removed.
|
| + virtual ~MediaPipelineBackend() {} |
| + |
| + virtual MediaClockDevice* GetClock() = 0; |
| + virtual AudioPipelineDevice* GetAudio() = 0; |
| + virtual VideoPipelineDevice* GetVideo() = 0; |
| +}; |
| + |
| +} // namespace media |
| +} // namespace chromecast |
| + |
| +#endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FACTORY_H_ |