Searched defs:timebase (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/include/media/ |
H A D | AudioTimestamp.h | 70 // mTimeNs is in nanoseconds for the default timebase, monotonic. 103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const { 105 || timebase < 0 || timebase >= TIMEBASE_MAX) { 114 *time = mTimeNs[i] + mTimebaseOffset[timebase]; 102 getBestTimestamp( int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const argument
|
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamLegacy.cpp | 170 int timebase; local 173 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; 176 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; 186 timebase, &location);
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioTimestamp.h | 70 // mTimeNs is in nanoseconds for the default timebase, monotonic. 103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const { 105 || timebase < 0 || timebase >= TIMEBASE_MAX) { 114 *time = mTimeNs[i] + mTimebaseOffset[timebase]; 102 getBestTimestamp( int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const argument
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 744 jobject timestamp, jint timebase) { 760 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); 743 android_media_AudioRecord_get_timestamp(JNIEnv *env, jobject thiz, jobject timestamp, jint timebase) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 893 * @param timebase one of 901 @AudioTimestamp.Timebase int timebase) 904 (timebase != AudioTimestamp.TIMEBASE_BOOTTIME 905 && timebase != AudioTimestamp.TIMEBASE_MONOTONIC)) { 908 return native_get_timestamp(outTimestamp, timebase); 1796 @AudioTimestamp.Timebase int timebase); 900 getTimestamp(@onNull AudioTimestamp outTimestamp, @AudioTimestamp.Timebase int timebase) argument 1795 native_get_timestamp(@onNull AudioTimestamp outTimestamp, @AudioTimestamp.Timebase int timebase) argument
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 236 // Track the CLOCK_BOOTTIME versus CLOCK_MONOTONIC timebase offset 265 // retrieves the boottime timebase offset from monotonic. 273 // Adjusts the timebase offset between TIMEBASE_MONOTONIC 274 // and the selected timebase. 282 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { argument 284 switch (timebase) { 289 LOG_ALWAYS_FATAL("invalid timebase %d", timebase); 307 // to avoid micro-adjusting, we don't change the timebase 314 ALOGV("Adjusting timebase offse [all...] |
Completed in 311 milliseconds