Home
last modified time | relevance | path

Searched refs:stop_threshold (Results 1 - 16 of 16) sorted by relevance

/third_party/alsa-lib/src/pcm/
H A Dpcm_dsnoop.c153 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dsnoop_sync_ptr()
155 if ((avail = snd_pcm_mmap_capture_avail(pcm)) >= pcm->stop_threshold) { in snd_pcm_dsnoop_sync_ptr()
291 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dsnoop_drain() local
296 stop_threshold = pcm->stop_threshold; in __snd_pcm_dsnoop_drain()
297 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dsnoop_drain()
298 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dsnoop_drain()
307 pcm->stop_threshold = stop_threshold; in __snd_pcm_dsnoop_drain()
H A Dpcm_dshare.c180 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dshare_sync_ptr0()
185 if (avail >= pcm->stop_threshold) { in snd_pcm_dshare_sync_ptr0()
364 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dshare_drain() local
392 stop_threshold = pcm->stop_threshold; in __snd_pcm_dshare_drain()
393 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dshare_drain()
394 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dshare_drain()
415 pcm->stop_threshold = stop_threshold; in __snd_pcm_dshare_drain()
H A Dpcm_dmix.c406 if (pcm->stop_threshold >= pcm->boundary) /* don't care */ in snd_pcm_dmix_sync_ptr0()
411 if (avail >= pcm->stop_threshold) { in snd_pcm_dmix_sync_ptr0()
588 snd_pcm_uframes_t stop_threshold; in __snd_pcm_dmix_drain() local
614 stop_threshold = pcm->stop_threshold; in __snd_pcm_dmix_drain()
615 if (pcm->stop_threshold > pcm->buffer_size) in __snd_pcm_dmix_drain()
616 pcm->stop_threshold = pcm->buffer_size; in __snd_pcm_dmix_drain()
647 pcm->stop_threshold = stop_threshold; in __snd_pcm_dmix_drain()
H A Dpcm_direct.h107 unsigned int stop_threshold; member
H A Dpcm.c1038 pcm->stop_threshold = params->stop_threshold; in snd_pcm_sw_params()
2276 link_warning(snd_pcm_xrun_mode_name, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
2382 snd_output_printf(out, " stop_threshold : %ld\n", pcm->stop_threshold); in snd_pcm_dump_sw_setup()
6350 params->stop_threshold = pcm->stop_threshold; in snd_pcm_sw_params_current_no_lock()
6391 snd_output_printf(out, "stop_threshold: %ld\n", params->stop_threshold); in snd_pcm_sw_params_dump()
6514 params->stop_threshold in snd_pcm_sw_params_set_xrun_mode()
[all...]
H A Dpcm_hw.c534 params->stop_threshold == pcm->stop_threshold && in snd_pcm_hw_sw_params()
1207 if (avail >= pcm->stop_threshold) { in snd_pcm_hw_avail_update()
H A Dpcm_rate.c543 if (sparams->stop_threshold >= params->boundary) { in snd_pcm_rate_sw_params()
544 sparams->stop_threshold = sparams->boundary; in snd_pcm_rate_sw_params()
546 recalc(pcm, &sparams->stop_threshold); in snd_pcm_rate_sw_params()
H A Dpcm_share.c222 if (avail >= pcm->stop_threshold) { in _snd_pcm_share_missing()
268 if (avail >= pcm->stop_threshold) { in _snd_pcm_share_missing()
272 snd_pcm_uframes_t xrun_missing = pcm->stop_threshold - avail; in _snd_pcm_share_missing()
H A Dpcm_direct.c1172 COPY_SLAVE(stop_threshold);
1571 COPY_SLAVE(stop_threshold);
H A Dpcm_local.h220 snd_pcm_uframes_t stop_threshold; member
H A Dpcm_params.c2343 params->stop_threshold = pcm->buffer_size; in snd_pcm_sw_params_default()
/third_party/ffmpeg/libavfilter/
H A Daf_silenceremove.c69 double stop_threshold; member
123 { "stop_threshold", "set threshold for stop silence detection", OFFSET(stop_threshold), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, DBL_MAX, AF },
745 threshold |= s->compute(s, in, j, nb_samples_read) > s->stop_threshold; in filter_frame()
750 threshold &= s->compute(s, in, j, nb_samples_read) > s->stop_threshold; in filter_frame()
/third_party/alsa-utils/bat/
H A Dtinyalsa.c68 config->stop_threshold = 0; in init_config()
/third_party/alsa-utils/aplay/
H A Daplay.c1353 snd_pcm_uframes_t start_threshold, stop_threshold; local
1491 stop_threshold = buffer_size + (double) rate * stop_delay / 1000000;
1493 stop_threshold = (double) rate * stop_delay / 1000000;
1494 err = snd_pcm_sw_params_set_stop_threshold(handle, swparams, stop_threshold);
/third_party/alsa-lib/include/sound/uapi/
H A Dasound.h445 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ member
/third_party/ffmpeg/tests/fate/
H A Dfilter-audio.mak187 fate-filter-silenceremove: CMD = framecrc -auto_conversion_filters -f lavfi -i "aevalsrc=between(t\,1\,2)+between(t\,4\,5)+between(t\,7\,9):d=10:n=8192,silenceremove=start_periods=0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB:window=0:detection=peak"

Completed in 59 milliseconds