Home
last modified time | relevance | path

Searched refs:mediaClock (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp280 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_native_getTimestamp() local
281 if (mediaClock == NULL) { in android_media_MediaSync_native_getTimestamp()
287 if (mediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in android_media_MediaSync_native_getTimestamp()
296 (jfloat)mediaClock->getPlaybackRate()); in android_media_MediaSync_native_getTimestamp()
358 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_setPlaybackParams() local
359 if (mediaClock == NULL) { in android_media_MediaSync_setPlaybackParams()
363 return (jfloat)mediaClock->getPlaybackRate(); in android_media_MediaSync_setPlaybackParams()
432 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_setSyncParams() local
433 if (mediaClock == NULL) { in android_media_MediaSync_setSyncParams()
437 return (jfloat)mediaClock->getPlaybackRate(); in android_media_MediaSync_setSyncParams()