Searched refs:lhandle (Results 1 – 3 of 3) sorted by relevance
/third_party/alsa-utils/alsaloop/ |
D | pcmjob.c | 39 static int set_rate_shift(struct loopback_handle *lhandle, double pitch); 40 static int get_rate(struct loopback_handle *lhandle); 109 static int setparams_stream(struct loopback_handle *lhandle, in setparams_stream() argument 112 snd_pcm_t *handle = lhandle->handle; in setparams_stream() 118 …logit(LOG_CRIT, "Broken configuration for %s PCM: no configurations available: %s\n", lhandle->id,… in setparams_stream() 121 err = snd_pcm_hw_params_set_rate_resample(handle, params, lhandle->resample); in setparams_stream() 123 …logit(LOG_CRIT, "Resample setup failed for %s (val %u): %s\n", lhandle->id, lhandle->resample, snd… in setparams_stream() 126 err = snd_pcm_hw_params_set_access(handle, params, lhandle->access); in setparams_stream() 128 logit(LOG_CRIT, "Access type not available for %s: %s\n", lhandle->id, snd_strerror(err)); in setparams_stream() 131 err = snd_pcm_hw_params_set_format(handle, params, lhandle->format); in setparams_stream() [all …]
|
D | control.c | 160 static int control_init1(struct loopback_handle *lhandle, in control_init1() argument 167 if (lhandle->ctl == NULL) { in control_init1() 171 err = snd_ctl_elem_info(lhandle->ctl, ctl->info); in control_init1() 176 err = snd_ctl_elem_read(lhandle->ctl, ctl->value); in control_init1() 405 int control_event(struct loopback_handle *lhandle, snd_ctl_event_t *ev) in control_event() argument 409 int capt = lhandle == lhandle->loopback->capt; in control_event() 414 for (mix = lhandle->loopback->controls; mix; mix = mix->next) { in control_event() 418 err = control_event1(lhandle->loopback, mix, ev, capt); in control_event()
|
D | alsaloop.h | 221 int control_event(struct loopback_handle *lhandle, snd_ctl_event_t *ev);
|