Searched refs:usbmod (Results 1 – 1 of 1) sorted by relevance
80 static struct usb_module *usbmod = NULL; variable96 usbmod = calloc(1, sizeof(struct usb_module)); in usb_alloc()176 usbmod->usb_card); in usb_get_capability()342 usbmod->adev = (struct audio_device*)adev; in usb_playback_entry()346 pthread_mutex_lock(&usbmod->usb_playback_lock); in usb_playback_entry()348 &usbmod->channels_playback, &usbmod->sample_rate_playback); in usb_playback_entry()352 pthread_mutex_unlock(&usbmod->usb_playback_lock); in usb_playback_entry()358 pcm_config_usbmod.channels = usbmod->channels_playback; in usb_playback_entry()359 pcm_config_usbmod.rate = usbmod->sample_rate_playback; in usb_playback_entry()364 usbmod->usb_pcm_playback_handle = pcm_open(usbmod->usb_card, \ in usb_playback_entry()[all …]