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

Side by Side Diff: chromecast/media/cma/adapter/media_clock_device.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add V1 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROMECAST_PUBLIC_MEDIA_MEDIA_CLOCK_DEVICE_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_ADAPTER_MEDIA_CLOCK_DEVICE_H_
6 #define CHROMECAST_PUBLIC_MEDIA_MEDIA_CLOCK_DEVICE_H_ 6 #define CHROMECAST_MEDIA_CMA_ADAPTER_MEDIA_CLOCK_DEVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromecast { 10 namespace chromecast {
11 namespace media { 11 namespace media {
12 12
13 // Interface for platform-specific pipeline clock. 13 // Interface for platform-specific pipeline clock.
14 // Pipeline clocks follow this state machine: 14 // Pipeline clocks follow this state machine:
15 // ------------------- 15 // -------------------
16 // | | 16 // | |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool SetRate(float rate) = 0; 53 virtual bool SetRate(float rate) = 0;
54 54
55 // Retrieves the media clock time in microseconds. 55 // Retrieves the media clock time in microseconds.
56 // Will only be invoked in states kStateIdle or kStateRunning. 56 // Will only be invoked in states kStateIdle or kStateRunning.
57 virtual int64_t GetTimeMicroseconds() = 0; 57 virtual int64_t GetTimeMicroseconds() = 0;
58 }; 58 };
59 59
60 } // namespace media 60 } // namespace media
61 } // namespace chromecast 61 } // namespace chromecast
62 62
63 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_CLOCK_DEVICE_H_ 63 #endif // CHROMECAST_MEDIA_CMA_ADAPTER_MEDIA_CLOCK_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698