Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp777 unsigned proxyPeriod, usbPeriod; in PlaybackThreadEntry() local
829 usbPeriod = musbPlaybackHandle->period_size; in PlaybackThreadEntry()
841 int usbframes = (musbPlaybackHandle->flags & PCM_MONO) ? (usbPeriod / 2) : (usbPeriod / 4); in PlaybackThreadEntry()
937 if (usbPeriod - usbSizeFilled <= proxySizeRemaining) { in PlaybackThreadEntry()
938 …memcpy(usbbuf + usbSizeFilled, proxybuf + proxyPeriod - proxySizeRemaining, usbPeriod - usbSizeFil… in PlaybackThreadEntry()
939 proxySizeRemaining -= (usbPeriod - usbSizeFilled); in PlaybackThreadEntry()
940 usbSizeFilled = usbPeriod; in PlaybackThreadEntry()
948 if (usbSizeFilled == usbPeriod) { in PlaybackThreadEntry()
991 memcpy(mdstUsb_addr, usbbuf, usbPeriod ); in PlaybackThreadEntry()
993 memset(usbbuf, 0x0, usbPeriod); in PlaybackThreadEntry()
[all …]