Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/
A Dpcm_dsnoop.c142 if (diff > pcm->stop_threshold) { in snd_pcm_dsnoop_sync_ptr()
155 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dsnoop_sync_ptr()
160 if ((avail = snd_pcm_mmap_capture_hw_avail(pcm)) >= pcm->stop_threshold) { in snd_pcm_dsnoop_sync_ptr()
292 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dsnoop_drain() local
298 stop_threshold = pcm->stop_threshold; in __snd_pcm_dsnoop_drain()
299 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dsnoop_drain()
300 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dsnoop_drain()
308 pcm->stop_threshold = stop_threshold; in __snd_pcm_dsnoop_drain()
A Dpcm_dmix.c372 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dmix_sync_ptr0()
377 if (avail >= pcm->stop_threshold) { in snd_pcm_dmix_sync_ptr0()
385 avail, pcm->stop_threshold, in snd_pcm_dmix_sync_ptr0()
660 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dmix_drain() local
686 stop_threshold = pcm->stop_threshold; in __snd_pcm_dmix_drain()
687 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dmix_drain()
688 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dmix_drain()
725 pcm->stop_threshold = stop_threshold; in __snd_pcm_dmix_drain()
A Dpcm.c469 params->stop_threshold = pcm->stop_threshold; in snd_pcm_sw_params_current()
492 params->stop_threshold = val; in snd_pcm_sw_params_set_stop_threshold()
499 *val = params->stop_threshold; in snd_pcm_sw_params_get_stop_threshold()
562 pcm->stop_threshold = params->stop_threshold; in snd_pcm_sw_params()
797 printf(" stop_threshold : %lu\n", pcm->stop_threshold); in snd_pcm_dump_sw_setup()
1172 avail, size, pcm->start_threshold, pcm->stop_threshold, xfer); in snd_pcm_write_areas()
A Dpcm_direct.h94 unsigned int stop_threshold; member
A Dpcm_direct.c279 COPY_SLAVE(stop_threshold); in save_slave_setting()
469 COPY_SLAVE(stop_threshold); in copy_slave_setting()
A Dpcm_hw.c310 if (avail >= pcm->stop_threshold) { in snd_pcm_hw_avail_update()
A Dpcm_rate.c502 if (sparams->stop_threshold >= params->boundary) { in snd_pcm_rate_sw_params()
503 sparams->stop_threshold = sparams->boundary; in snd_pcm_rate_sw_params()
505 recalc(pcm, &sparams->stop_threshold); in snd_pcm_rate_sw_params()
A Dpcm_local.h144 snd_pcm_uframes_t stop_threshold; member
A Dpcm_params.c1496 params->stop_threshold = pcm->buffer_size; in snd_pcm_sw_params_default()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/test/
A Dtt-aw-alsa-lib.c164 snd_pcm_uframes_t stop_threshold; member
168 .stop_threshold = 4096,
430 snd_pcm_uframes_t stop_threshold; in sw_params_test() local
465 printf("stop_threshold = %u\n", g_sw_params.stop_threshold); in sw_params_test()
477 snd_pcm_sw_params_set_stop_threshold(handle, sw_params, g_sw_params.stop_threshold); in sw_params_test()
492 snd_pcm_sw_params_get_stop_threshold(sw_params, &stop_threshold); in sw_params_test()
502 printf("stop_threshold = %u\n", stop_threshold); in sw_params_test()
543 snd_pcm_uframes_t stop_threshold_bak = g_sw_params.stop_threshold; in sw_params_stop_threshold()
548 sw_params_test_detail(stop_threshold); in sw_params_stop_threshold()
550 g_sw_params.stop_threshold = stop_threshold_bak; in sw_params_stop_threshold()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sound/
A Dsnd_pcm.h221 if (runtime->stop_threshold >= runtime->boundary) in snd_pcm_playback_data()
A Dsnd_core.h459 snd_pcm_uframes_t stop_threshold; member
A Dpcm_common.h230 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ member
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_pcm.c535 snd_print("stop_threshold: %lu\n", runtime->stop_threshold); in snd_pcm_dump_params()
635 if (avail >= runtime->stop_threshold) { in snd_pcm_update_state()
636 snd_print("avail=0x%lx, stop_threshold=0x%lx\n", avail, runtime->stop_threshold); in snd_pcm_update_state()
1914 runtime->stop_threshold = runtime->buffer_size; in ksnd_pcm_hw_params()
1963 runtime->stop_threshold = params->stop_threshold; in ksnd_pcm_sw_params()

Completed in 41 milliseconds