Searched refs:rperiod_size (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/alsa/ |
H A D | pcm-test.c | 301 snd_pcm_uframes_t rperiod_size, rbuffer_size, start_threshold; in test_pcm_time() local 416 rperiod_size = period_size; in test_pcm_time() 417 err = snd_pcm_hw_params_set_period_size_near(handle, hw_params, &rperiod_size, 0); in test_pcm_time() 440 start_threshold = (rbuffer_size / rperiod_size) * rperiod_size; in test_pcm_time() 442 start_threshold = rperiod_size; in test_pcm_time() 449 err = snd_pcm_sw_params_set_avail_min(handle, sw_params, rperiod_size); in test_pcm_time() 451 …snprintf(msg, sizeof(msg), "snd_pcm_sw_params_set_avail_min %ld: %s", (long)rperiod_size, snd_stre… in test_pcm_time() 467 (long)rperiod_size, (long)rbuffer_size, in test_pcm_time()
|