Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp789 int usbSizeFilled = 0; in PlaybackThreadEntry() local
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()
943 … memcpy(usbbuf + usbSizeFilled, proxybuf + proxyPeriod - proxySizeRemaining,proxySizeRemaining); in PlaybackThreadEntry()
944 usbSizeFilled += proxySizeRemaining; in PlaybackThreadEntry()
948 if (usbSizeFilled == usbPeriod) { in PlaybackThreadEntry()
992 usbSizeFilled = 0; in PlaybackThreadEntry()