Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMECAST_PUBLIC_MEDIA_MEDIA_PIPELINE_BACKEND_H_ | |
| 6 #define CHROMECAST_PUBLIC_MEDIA_MEDIA_PIPELINE_BACKEND_H_ | |
| 7 | |
| 8 namespace chromecast { | |
| 9 namespace media { | |
| 10 | |
| 11 class AudioPipelineDevice; | |
| 12 class MediaClockDevice; | |
| 13 class MediaPipelineDeviceParams; | |
| 14 class VideoPipelineDevice; | |
| 15 | |
| 16 // Interface for creating and managing ownership of platform-specific clock, | |
| 17 // audio and video devices. The pipeline owns the MediaPipelineBackend for | |
| 18 // as long as they are needed and the implementation is responsible for | |
| 19 // tearing down the individual components correctly when it is destroyed. | |
| 20 // A new MediaPipelineBackend will be instantiated for each media player | |
| 21 // instance. | |
| 22 class MediaPipelineBackend { | |
| 23 public: | |
| 24 MediaPipelineBackend() {} | |
|
byungchul
2015/07/27 18:22:23
not necessary
halliwell
2015/07/28 02:19:36
removed.
| |
| 25 virtual ~MediaPipelineBackend() {} | |
| 26 | |
| 27 virtual MediaClockDevice* GetClock() = 0; | |
| 28 virtual AudioPipelineDevice* GetAudio() = 0; | |
| 29 virtual VideoPipelineDevice* GetVideo() = 0; | |
| 30 }; | |
| 31 | |
| 32 } // namespace media | |
| 33 } // namespace chromecast | |
| 34 | |
| 35 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FACTORY_H_ | |
| OLD | NEW |