Lines Matching defs:handle
277 typedef int (*snd_int_pp_p_t)(void **rctl, void *handle);
283 typedef void *(*snd_p_p_t)(void *handle);
289 void *handle;
306 err = ((snd_int_pp_strp_int_t)item->xfunc)(&handle, name, mode);
308 return new_result1(instance, err, item->prefix, handle);
314 void *handle;
327 handle = (void *)get_ptr(instance, p1, prefix1);
328 if (handle == NULL)
330 err = ((snd_int_pp_p_t)item->xfunc)(&handle, handle);
331 return new_result1(instance, err, item->prefix, handle);
336 void *handle;
354 handle = (void *)get_ptr(instance, p1, item->prefix);
355 if (handle == NULL)
357 handle = ((snd_p_p_t)item->xfunc)(handle);
358 return new_cons_pointer(instance, prefix1, handle);
363 void *handle;
369 handle = (void *)get_ptr(instance, p1, item->prefix);
370 if (handle == NULL)
372 return new_integer(instance, ((snd_int_p_t)item->xfunc)(handle));
377 void *handle;
383 handle = (void *)get_ptr(instance, p1, item->prefix);
384 if (handle == NULL)
386 return new_string(instance, ((snd_str_p_t)item->xfunc)(handle));
447 snd_ctl_t *handle;
455 handle = (snd_ctl_t *)get_ptr(instance, p1, item->prefix);
456 if (handle == NULL)
458 err = snd_ctl_card_info(handle, &info);
526 snd_hctl_t *handle;
530 handle = (snd_hctl_t *)get_ptr(instance, car(args), item->prefix);
531 if (handle == NULL) {
542 return new_cons_pointer(instance, "hctl_elem", snd_hctl_find_elem(handle, &id));
547 snd_hctl_elem_t *handle;
557 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix);
558 if (handle == NULL)
560 err = snd_hctl_elem_info(handle, &info);
594 err = snd_hctl_elem_info(handle, &info);
625 snd_hctl_elem_t *handle;
636 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix);
637 if (handle == NULL)
639 err = snd_hctl_elem_info(handle, &info);
641 err = snd_hctl_elem_read(handle, &value);
687 snd_hctl_elem_t *handle;
700 handle = (snd_hctl_elem_t *)get_ptr(instance, obj, item->prefix);
701 if (handle == NULL) {
705 err = snd_hctl_elem_info(handle, &info);
746 err = snd_hctl_elem_write(handle, &value);
752 snd_pcm_t *handle;
760 handle = (snd_pcm_t *)get_ptr(instance, p1, item->prefix);
761 if (handle == NULL)
763 err = snd_pcm_info(handle, &info);