/third_party/pulseaudio/src/tests/ |
D | alsa-time-test.c | 26 snd_pcm_sw_params_t *swparams; in main() local 52 snd_pcm_sw_params_alloca(&swparams); in main() 107 r = snd_pcm_sw_params_current(pcm, swparams); in main() 111 r = snd_pcm_sw_params_set_avail_min(pcm, swparams, 1); in main() 113 r = snd_pcm_sw_params_set_avail_min(pcm, swparams, 0); in main() 116 r = snd_pcm_sw_params_set_period_event(pcm, swparams, 0); in main() 121 … r = snd_pcm_sw_params_set_start_threshold(pcm, swparams, buffer_size - (buffer_size % fillrate)); in main() 124 r = snd_pcm_sw_params_get_boundary(swparams, &boundary); in main() 126 r = snd_pcm_sw_params_set_stop_threshold(pcm, swparams, boundary); in main() 129 r = snd_pcm_sw_params_set_tstamp_mode(pcm, swparams, SND_PCM_TSTAMP_ENABLE); in main() [all …]
|
/third_party/alsa-lib/test/ |
D | pcm.c | 177 static int set_swparams(snd_pcm_t *handle, snd_pcm_sw_params_t *swparams) in set_swparams() argument 182 err = snd_pcm_sw_params_current(handle, swparams); in set_swparams() 189 …err = snd_pcm_sw_params_set_start_threshold(handle, swparams, (buffer_size / period_size) * period… in set_swparams() 196 err = snd_pcm_sw_params_set_avail_min(handle, swparams, period_event ? buffer_size : period_size); in set_swparams() 203 err = snd_pcm_sw_params_set_period_event(handle, swparams, 1); in set_swparams() 210 err = snd_pcm_sw_params(handle, swparams); in set_swparams() 784 snd_pcm_sw_params_t *swparams; in main() local 791 snd_pcm_sw_params_alloca(&swparams); in main() 891 if ((err = set_swparams(handle, swparams)) < 0) { in main()
|
D | latency.c | 132 snd_pcm_sw_params_t *swparams, in setparams_set() argument 143 err = snd_pcm_sw_params_current(handle, swparams); in setparams_set() 148 err = snd_pcm_sw_params_set_start_threshold(handle, swparams, 0x7fffffff); in setparams_set() 157 err = snd_pcm_sw_params_set_avail_min(handle, swparams, val); in setparams_set() 162 err = snd_pcm_sw_params(handle, swparams); in setparams_set()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/alsa/ |
D | SDL_alsa_audio.c | 546 snd_pcm_sw_params_t *swparams = NULL; in ALSA_OpenDevice() local 675 snd_pcm_sw_params_alloca(&swparams); in ALSA_OpenDevice() 676 status = ALSA_snd_pcm_sw_params_current(pcm_handle, swparams); in ALSA_OpenDevice() 681 status = ALSA_snd_pcm_sw_params_set_avail_min(pcm_handle, swparams, this->spec.samples); in ALSA_OpenDevice() 687 ALSA_snd_pcm_sw_params_set_start_threshold(pcm_handle, swparams, 1); in ALSA_OpenDevice() 692 status = ALSA_snd_pcm_sw_params(pcm_handle, swparams); in ALSA_OpenDevice()
|
/third_party/alsa-utils/speaker-test/ |
D | speaker-test.c | 545 static int set_swparams(snd_pcm_t *handle, snd_pcm_sw_params_t *swparams) { in set_swparams() argument 549 err = snd_pcm_sw_params_current(handle, swparams); in set_swparams() 556 err = snd_pcm_sw_params_set_start_threshold(handle, swparams, buffer_size); in set_swparams() 563 err = snd_pcm_sw_params_set_avail_min(handle, swparams, period_size); in set_swparams() 570 err = snd_pcm_sw_params(handle, swparams); in set_swparams() 975 snd_pcm_sw_params_t *swparams; in main() local 1017 snd_pcm_sw_params_alloca(&swparams); in main() 1185 if ((err = set_swparams(handle, swparams)) < 0) { in main()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_plugin.c | 618 snd_pcm_sw_params_t *swparams; in snd_pcm_plugin_may_wait_for_avail_min() local 619 snd_pcm_sw_params_alloca(&swparams); in snd_pcm_plugin_may_wait_for_avail_min() 624 snd_pcm_sw_params_current(slave, swparams); in snd_pcm_plugin_may_wait_for_avail_min() 631 swparams->avail_min = needed_slave_avail_min; in snd_pcm_plugin_may_wait_for_avail_min() 632 snd_pcm_sw_params(slave, swparams); in snd_pcm_plugin_may_wait_for_avail_min()
|
D | pcm.c | 8612 snd_pcm_sw_params_t swparams = {0}; in snd_pcm_set_params() local 8748 err = snd_pcm_sw_params_current(pcm, &swparams); in snd_pcm_set_params() 8758 err = snd_pcm_sw_params_set_start_threshold(pcm, &swparams, in snd_pcm_set_params() 8769 err = snd_pcm_sw_params_set_avail_min(pcm, &swparams, period_size); in snd_pcm_set_params() 8776 err = snd_pcm_sw_params(pcm, &swparams); in snd_pcm_set_params()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-util.c | 463 snd_pcm_sw_params_t *swparams; in pa_alsa_set_sw_params() local 469 snd_pcm_sw_params_alloca(&swparams); in pa_alsa_set_sw_params() 471 if ((err = snd_pcm_sw_params_current(pcm, swparams)) < 0) { in pa_alsa_set_sw_params() 476 if ((err = snd_pcm_sw_params_set_period_event(pcm, swparams, period_event)) < 0) { in pa_alsa_set_sw_params() 481 if ((err = snd_pcm_sw_params_set_tstamp_mode(pcm, swparams, SND_PCM_TSTAMP_ENABLE)) < 0) { in pa_alsa_set_sw_params() 486 if ((err = snd_pcm_sw_params_get_boundary(swparams, &boundary)) < 0) { in pa_alsa_set_sw_params() 491 if ((err = snd_pcm_sw_params_set_stop_threshold(pcm, swparams, boundary)) < 0) { in pa_alsa_set_sw_params() 496 if ((err = snd_pcm_sw_params_set_start_threshold(pcm, swparams, (snd_pcm_uframes_t) -1)) < 0) { in pa_alsa_set_sw_params() 501 if ((err = snd_pcm_sw_params_set_avail_min(pcm, swparams, avail_min)) < 0) { in pa_alsa_set_sw_params() 506 if ((err = snd_pcm_sw_params(pcm, swparams)) < 0) { in pa_alsa_set_sw_params()
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsasrc.h | 57 snd_pcm_sw_params_t *swparams; member
|
/third_party/alsa-utils/alsaloop/ |
D | pcmjob.c | 225 snd_pcm_sw_params_t *swparams, in setparams_set() argument 237 err = snd_pcm_sw_params_current(handle, swparams); in setparams_set() 242 err = snd_pcm_sw_params_set_start_threshold(handle, swparams, 0x7fffffff); in setparams_set() 271 err = snd_pcm_sw_params_set_avail_min(handle, swparams, val); in setparams_set() 276 snd_pcm_sw_params_get_avail_min(swparams, &lhandle->avail_min); in setparams_set() 277 err = snd_pcm_sw_params(handle, swparams); in setparams_set() 288 snd_pcm_sw_params_t *swparams; in increase_playback_avail_min() local 299 snd_pcm_sw_params_alloca(&swparams); in increase_playback_avail_min() 300 err = snd_pcm_sw_params_current(handle, swparams); in increase_playback_avail_min() 305 err = snd_pcm_sw_params_set_avail_min(handle, swparams, lhandle->avail_min + 4); in increase_playback_avail_min() [all …]
|
/third_party/alsa-utils/aplay/ |
D | aplay.c | 1313 snd_pcm_sw_params_t *swparams; in set_params() local 1320 snd_pcm_sw_params_alloca(&swparams); in set_params() 1427 err = snd_pcm_sw_params_current(handle, swparams); in set_params() 1436 err = snd_pcm_sw_params_set_avail_min(handle, swparams, n); in set_params() 1448 err = snd_pcm_sw_params_set_start_threshold(handle, swparams, start_threshold); in set_params() 1454 err = snd_pcm_sw_params_set_stop_threshold(handle, swparams, stop_threshold); in set_params() 1457 if (snd_pcm_sw_params(handle, swparams) < 0) { in set_params() 1459 snd_pcm_sw_params_dump(swparams, log); in set_params()
|
/third_party/alsa-utils/po/ |
D | ja.po | 1471 msgid "Unable to determine current swparams for playback: %s\n" 1472 msgstr "現在の swparams を取得できません: %s\n" 1658 msgid "Setting of swparams failed: %s\n" 1659 msgstr "swparams の設定に失敗: %s\n"
|
D | eu.po | 1511 msgid "Unable to determine current swparams for playback: %s\n" 1705 msgid "Setting of swparams failed: %s\n" 1706 msgstr "swparams-eko hobespenek huts egin dute: %s\n"
|
D | sk.po | 1521 msgid "Unable to determine current swparams for playback: %s\n" 1713 msgid "Setting of swparams failed: %s\n" 1714 msgstr "Chyba pri nastavovaní softvérových parametrov (swparams): %s\n"
|
D | de.po | 1485 msgid "Unable to determine current swparams for playback: %s\n" 1675 msgid "Setting of swparams failed: %s\n"
|
D | fr.po | 1501 msgid "Unable to determine current swparams for playback: %s\n" 1693 msgid "Setting of swparams failed: %s\n"
|