Searched refs:capt (Results 1 – 4 of 4) sorted by relevance
/third_party/alsa-utils/alsaloop/ |
D | pcmjob.c | 338 if ((err = setparams_stream(loop->capt, ct_params)) < 0) { in setparams() 339 …logit(LOG_CRIT, "Unable to set parameters for %s stream: %s\n", loop->capt->id, snd_strerror(err)); in setparams() 347 if ((err = setparams_bufsize(loop->capt, c_params, ct_params, bufsize / loop->capt->pitch)) < 0) { in setparams() 348 …logit(LOG_CRIT, "Unable to set buffer parameters for %s stream: %s\n", loop->capt->id, snd_strerro… in setparams() 356 if ((err = setparams_set(loop->capt, c_params, c_swparams, bufsize / loop->capt->pitch)) < 0) { in setparams() 357 …logit(LOG_CRIT, "Unable to set sw parameters for %s stream: %s\n", loop->capt->id, snd_strerror(er… in setparams() 363 if (snd_pcm_link(loop->capt->handle, loop->play->handle) >= 0) in setparams() 370 if (!loop->linked && (err = snd_pcm_prepare(loop->capt->handle)) < 0) { in setparams() 371 logit(LOG_CRIT, "Prepare %s error: %s\n", loop->capt->id, snd_strerror(err)); in setparams() 377 snd_pcm_dump(loop->capt->handle, loop->output); in setparams() [all …]
|
D | control.c | 219 if (loop->capt->card_number < 0) in oss_set() 226 sprintf(file, "/proc/asound/card%i/oss_mixer", loop->capt->card_number); in oss_set() 253 snd_ctl_elem_remove(loop->capt->ctl, mix->dst.id); in control_init2() 256 err = snd_ctl_elem_add_boolean(loop->capt->ctl, in control_init2() 261 err = snd_ctl_elem_add_integer(loop->capt->ctl, in control_init2() 277 err = snd_ctl_elem_unlock(loop->capt->ctl, mix->dst.id); in control_init2() 282 err = snd_ctl_elem_info(loop->capt->ctl, mix->dst.info); in control_init2() 296 err = snd_ctl_elem_tlv_write(loop->capt->ctl, in control_init2() 304 err = snd_ctl_elem_write(loop->capt->ctl, mix->dst.value); in control_init2() 347 if (loop->capt->ctl == NULL) in control_done() [all …]
|
D | alsaloop.c | 116 struct loopback_handle *capt, in create_loopback() argument 125 handle->capt = capt; in create_loopback() 127 capt->loopback = handle; in create_loopback() 145 loop->loop_limit = loop->capt->rate * loop_time; in set_loop_time() 598 struct loopback_handle *capt; in parse_config() local 604 err = create_loopback_handle(&capt, arg_cdevice, arg_cctl, "capture"); in parse_config() 609 err = create_loopback(&loop, play, capt, output); in parse_config() 614 play->format = capt->format = arg_format; in parse_config() 615 play->rate = play->rate_req = capt->rate = capt->rate_req = arg_rate; in parse_config() 616 play->channels = capt->channels = arg_channels; in parse_config() [all …]
|
D | alsaloop.h | 135 struct loopback_handle *capt; member
|