Home
last modified time | relevance | path

Searched refs:rperiod_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c274 snd_pcm_uframes_t rperiod_size, rbuffer_size, start_threshold; in test_pcm_time() local
389 rperiod_size = period_size; in test_pcm_time()
390 err = snd_pcm_hw_params_set_period_size_near(handle, hw_params, &rperiod_size, 0); in test_pcm_time()
413 start_threshold = (rbuffer_size / rperiod_size) * rperiod_size; in test_pcm_time()
415 start_threshold = rperiod_size; in test_pcm_time()
422 err = snd_pcm_sw_params_set_avail_min(handle, sw_params, rperiod_size); in test_pcm_time()
424 …snprintf(msg, sizeof(msg), "snd_pcm_sw_params_set_avail_min %ld: %s", (long)rperiod_size, snd_stre… in test_pcm_time()
440 (long)rperiod_size, (long)rbuffer_size, in test_pcm_time()