Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp248 int32_t deviceFramesPerBurst = originalFramesPerBurst; in configureDataInformation() local
258 deviceFramesPerBurst *= 2; in configureDataInformation()
260 burstMicros = deviceFramesPerBurst * static_cast<int64_t>(1000000) / getDeviceSampleRate(); in configureDataInformation()
263 __func__, originalFramesPerBurst, burstMinMicros, deviceFramesPerBurst); in configureDataInformation()
266 if (deviceFramesPerBurst < MIN_FRAMES_PER_BURST in configureDataInformation()
267 || deviceFramesPerBurst > MAX_FRAMES_PER_BURST) { in configureDataInformation()
268 ALOGE("%s - deviceFramesPerBurst out of range = %d", __func__, deviceFramesPerBurst); in configureDataInformation()
273 int32_t framesPerBurst = (static_cast<int64_t>(deviceFramesPerBurst) * getSampleRate() + in configureDataInformation()
276 setDeviceFramesPerBurst(deviceFramesPerBurst); in configureDataInformation()
290 mClockModel.setFramesPerBurst(deviceFramesPerBurst); in configureDataInformation()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h581 void setDeviceFramesPerBurst(int32_t deviceFramesPerBurst) { in setDeviceFramesPerBurst() argument
582 mDeviceFramesPerBurst = deviceFramesPerBurst; in setDeviceFramesPerBurst()