Lines Matching refs:MediaSync
42 // MediaSync manages media playback and its synchronization to a media clock
58 // In video-only mode, MediaSync will playback every video frame even though
62 // track (for querying information of audio rendering) for MediaSync.
64 // Then the client needs to obtain a surface from MediaSync and render video
65 // frames onto that surface. Internally, the MediaSync will receive those video
72 class MediaSync : public AHandler {
74 // Create an instance of MediaSync.
75 static sp<MediaSync> create();
77 // Called when MediaSync is used to render video. It should be called
102 // Get the media clock used by the MediaSync so that the client can obtain
146 InputListener(const sp<MediaSync> &sync);
166 sp<MediaSync> mSync;
174 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output);
184 sp<MediaSync> mSync;
189 // Once the MediaSync has been abandoned by one side, it will disconnect
231 MediaSync();
234 virtual ~MediaSync();
262 // When this is called, the MediaSync disconnects from (i.e., abandons) its
286 DISALLOW_EVIL_CONSTRUCTORS(MediaSync);