Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp308 const int32_t maxMicros = 5000; // arbitrary, probably don't want more than 500 in AAudioProperty_getWakeupDelayMicros() local
313 } else if (prop > maxMicros) { in AAudioProperty_getWakeupDelayMicros()
314 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getWakeupDelayMicros()
315 prop = maxMicros; in AAudioProperty_getWakeupDelayMicros()
323 const int32_t maxMicros = 2000; // arbitrary in AAudioProperty_getMinimumSleepMicros() local
328 } else if (prop > maxMicros) { in AAudioProperty_getMinimumSleepMicros()
329 ALOGW("AAudioProperty_getMinimumSleepMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getMinimumSleepMicros()
330 prop = maxMicros; in AAudioProperty_getMinimumSleepMicros()
337 const int32_t maxMicros = 1000 * 1000; // arbitrary in AAudioProperty_getHardwareBurstMinMicros() local
339 if (prop < 1 || prop > maxMicros) { in AAudioProperty_getHardwareBurstMinMicros()
[all …]