Searched refs:frames_per_period (Results 1 - 4 of 4) sorted by relevance
/third_party/alsa-utils/axfer/ |
H A D | xfer-libffado.c | 26 unsigned int frames_per_period; member 91 state->frames_per_period = arg_parse_decimal_num(optarg, &err); in xfer_libffado_parse_opt() 166 if (state->frames_per_period == 0) in xfer_libffado_validate_opts() 167 state->frames_per_period = 512; in xfer_libffado_validate_opts() 186 avail_count = state->frames_per_period; in r_process_frames() 220 state->frames_per_period); in r_process_frames() 251 avail_count = state->frames_per_period; in w_process_frames() 290 consumed_count = state->frames_per_period; in w_process_frames() 329 options.period_size = state->frames_per_period; in open_handle() 451 state->frames_per_period * stat in xfer_libffado_pre_process() [all...] |
H A D | xfer-libasound.c | 96 state->frames_per_period = arg_parse_decimal_num(optarg, &err); in xfer_libasound_parse_opt() 167 if (state->frames_per_period > 0 && state->frames_per_buffer > 0) { in xfer_libasound_validate_opts() 168 if (state->frames_per_period > state->frames_per_buffer) { in xfer_libasound_validate_opts() 169 state->frames_per_period = state->frames_per_buffer; in xfer_libasound_validate_opts() 384 snd_pcm_uframes_t frames_per_period, in configure_hw_params() 478 // Keep one of 'frames_per_period' and 'msec_per_period'. in configure_hw_params() 479 if (frames_per_period == 0) { in configure_hw_params() 484 frames_per_period = frames_per_buffer / 4; in configure_hw_params() 489 msec = 1000000 * frames_per_period / frames_per_second; in configure_hw_params() 505 state->hw_params, &frames_per_period, NUL in configure_hw_params() 378 configure_hw_params(struct libasound_state *state, snd_pcm_format_t format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int msec_per_period, unsigned int msec_per_buffer, snd_pcm_uframes_t frames_per_period, snd_pcm_uframes_t frames_per_buffer) configure_hw_params() argument [all...] |
H A D | xfer-libasound-irq-rw.c | 282 snd_pcm_uframes_t frames_per_period; in w_process_frames_blocking() local 293 &frames_per_period, NULL); in w_process_frames_blocking() 299 if (frames_for_start_threshold > frames_per_period) in w_process_frames_blocking() 302 avail_count = (unsigned int)frames_per_period; in w_process_frames_blocking()
|
H A D | xfer-libasound.h | 44 unsigned int frames_per_period; member
|
Completed in 3 milliseconds