Searched refs:usbbuf (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
D | usb.c | 337 unsigned char usbbuf[USB_PROXY_PERIOD_SIZE] = {0}; in usb_playback_entry() local 426 (void *)usbbuf, USB_PROXY_PERIOD_SIZE); in usb_playback_entry() 429 (void *)usbbuf, USB_PROXY_PERIOD_SIZE); in usb_playback_entry() 433 memset(usbbuf, 0, USB_PROXY_PERIOD_SIZE); in usb_playback_entry() 456 unsigned char usbbuf[USB_PROXY_PERIOD_SIZE] = {0}; in usb_record_entry() local 542 (void *)usbbuf, USB_PROXY_PERIOD_SIZE); in usb_record_entry() 545 (void *)usbbuf, USB_PROXY_PERIOD_SIZE); in usb_record_entry() 549 memset(usbbuf, 0, USB_PROXY_PERIOD_SIZE); in usb_record_entry()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.cpp | 844 u_int8_t *usbbuf = ( u_int8_t *) malloc(USB_PERIOD_SIZE); in PlaybackThreadEntry() local 846 memset(usbbuf, 0x0, USB_PERIOD_SIZE); in PlaybackThreadEntry() 938 …memcpy(usbbuf + usbSizeFilled, proxybuf + proxyPeriod - proxySizeRemaining, usbPeriod - usbSizeFil… in PlaybackThreadEntry() 943 … memcpy(usbbuf + usbSizeFilled, proxybuf + proxyPeriod - proxySizeRemaining,proxySizeRemaining); in PlaybackThreadEntry() 991 memcpy(mdstUsb_addr, usbbuf, usbPeriod ); in PlaybackThreadEntry() 993 memset(usbbuf, 0x0, usbPeriod); in PlaybackThreadEntry() 1039 if (usbbuf) in PlaybackThreadEntry() 1040 free(usbbuf); in PlaybackThreadEntry()
|