Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/pcm/
Dpcm_dsnoop.c162 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dsnoop_sync_ptr()
164 if ((avail = snd_pcm_mmap_capture_avail(pcm)) >= pcm->stop_threshold) { in snd_pcm_dsnoop_sync_ptr()
316 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dsnoop_drain() local
321 stop_threshold = pcm->stop_threshold; in __snd_pcm_dsnoop_drain()
322 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dsnoop_drain()
323 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dsnoop_drain()
332 pcm->stop_threshold = stop_threshold; in __snd_pcm_dsnoop_drain()
Dpcm_dshare.c179 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dshare_sync_ptr0()
184 if (avail >= pcm->stop_threshold) { in snd_pcm_dshare_sync_ptr0()
387 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dshare_drain() local
415 stop_threshold = pcm->stop_threshold; in __snd_pcm_dshare_drain()
416 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dshare_drain()
417 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dshare_drain()
438 pcm->stop_threshold = stop_threshold; in __snd_pcm_dshare_drain()
Dpcm_dmix.c405 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dmix_sync_ptr0()
410 if (avail >= pcm->stop_threshold) { in snd_pcm_dmix_sync_ptr0()
611 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dmix_drain() local
637 stop_threshold = pcm->stop_threshold; in __snd_pcm_dmix_drain()
638 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dmix_drain()
639 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dmix_drain()
670 pcm->stop_threshold = stop_threshold; in __snd_pcm_dmix_drain()
Dpcm_direct.h107 unsigned int stop_threshold; member
Dpcm.c1023 pcm->stop_threshold = params->stop_threshold; in snd_pcm_sw_params()
2324 snd_output_printf(out, " stop_threshold : %ld\n", pcm->stop_threshold); in snd_pcm_dump_sw_setup()
6193 params->stop_threshold = pcm->stop_threshold; in snd_pcm_sw_params_current()
6214 snd_output_printf(out, "stop_threshold: %ld\n", params->stop_threshold); in snd_pcm_sw_params_dump()
6337 params->stop_threshold = pcm->buffer_size; in snd_pcm_sw_params_set_xrun_mode()
6340 params->stop_threshold = pcm->boundary; in snd_pcm_sw_params_set_xrun_mode()
6362 return params->stop_threshold > 1024 * 1024 ? SND_PCM_XRUN_NONE : SND_PCM_XRUN_STOP; in snd_pcm_sw_params_get_xrun_mode()
6644 params->stop_threshold = val; in snd_pcm_sw_params_set_stop_threshold()
6666 *val = params->stop_threshold; in INTERNAL()
Dpcm_share.c221 if (avail >= pcm->stop_threshold) { in _snd_pcm_share_missing()
267 if (avail >= pcm->stop_threshold) { in _snd_pcm_share_missing()
271 snd_pcm_uframes_t xrun_missing = pcm->stop_threshold - avail; in _snd_pcm_share_missing()
Dpcm_hw.c506 params->stop_threshold == pcm->stop_threshold && in snd_pcm_hw_sw_params()
1122 if (avail >= pcm->stop_threshold) { in snd_pcm_hw_avail_update()
Dpcm_rate.c544 if (sparams->stop_threshold >= params->boundary) { in snd_pcm_rate_sw_params()
545 sparams->stop_threshold = sparams->boundary; in snd_pcm_rate_sw_params()
547 recalc(pcm, &sparams->stop_threshold); in snd_pcm_rate_sw_params()
Dpcm_direct.c1119 COPY_SLAVE(stop_threshold);
1518 COPY_SLAVE(stop_threshold);
Dpcm_local.h216 snd_pcm_uframes_t stop_threshold; member
Dpcm_params.c2334 params->stop_threshold = pcm->buffer_size; in snd_pcm_sw_params_default()
/third_party/ffmpeg/libavfilter/
Daf_silenceremove.c67 double stop_threshold; member
116 …hold", "set threshold for stop silence detection", OFFSET(stop_threshold), AV_OPT_…
461 threshold |= s->compute(s, ibuf[j]) > s->stop_threshold; in filter_frame()
466 threshold &= s->compute(s, ibuf[j]) > s->stop_threshold; in filter_frame()
/third_party/alsa-utils/bat/
Dtinyalsa.c67 config->stop_threshold = 0; in init_config()
/third_party/alsa-utils/aplay/
Daplay.c1318 snd_pcm_uframes_t start_threshold, stop_threshold; in set_params() local
1451 stop_threshold = buffer_size + (double) rate * stop_delay / 1000000; in set_params()
1453 stop_threshold = (double) rate * stop_delay / 1000000; in set_params()
1454 err = snd_pcm_sw_params_set_stop_threshold(handle, swparams, stop_threshold); in set_params()
/third_party/alsa-lib/include/sound/uapi/
Dasound.h438 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ member
/third_party/ffmpeg/tests/fate/
Dfilter-audio.mak183 …0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB,aresample
/third_party/ffmpeg/doc/
Dfilters.texi5515 @item stop_threshold
5560 silenceremove=stop_periods=-1:stop_duration=1:stop_threshold=-90dB
5568 silenceremove=window=0:detection=peak:stop_mode=all:start_mode=all:stop_periods=-1:stop_threshold=0
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi63280 …<var-decl name="stop_threshold" type-id="df412e35" visibility="default" filepath="include/sound/pc…
Dtest-PR27569-v0.abi63266 …<var-decl name="stop_threshold" type-id="df412e35" visibility="default" filepath="include/sound/pc…