/third_party/alsa-lib/src/pcm/ |
D | pcm_simple.c | 111 snd_pcm_sw_params_t *sw_params, in set_sw_params() argument 116 err = snd_pcm_sw_params_current(pcm, sw_params); in set_sw_params() 119 …err = snd_pcm_sw_params_set_start_threshold(pcm, sw_params, (pcm->buffer_size / pcm->period_size) … in set_sw_params() 122 err = snd_pcm_sw_params_set_avail_min(pcm, sw_params, pcm->period_size); in set_sw_params() 127 err = snd_pcm_sw_params_set_stop_threshold(pcm, sw_params, pcm->buffer_size); in set_sw_params() 130 err = snd_pcm_sw_params_set_stop_threshold(pcm, sw_params, pcm->boundary); in set_sw_params() 137 err = snd_pcm_sw_params(pcm, sw_params); in set_sw_params() 168 snd_pcm_sw_params_t sw_params = {0}; in snd_spcm_init() local 186 err = set_sw_params(pcm, &sw_params, xrun_type); in snd_spcm_init() 222 snd_pcm_sw_params_t sw_params = {0}; in snd_spcm_init_duplex() local [all …]
|
D | pcm_rate.c | 56 snd_pcm_sw_params_t sw_params; member 517 sparams = &rate->sw_params; in snd_pcm_rate_sw_params() 1124 snd_pcm_sw_params_t sw_params; in snd_pcm_rate_drain() local 1129 sw_params = rate->sw_params; in snd_pcm_rate_drain() 1130 saved_avail_min = sw_params.avail_min; in snd_pcm_rate_drain() 1131 sw_params.avail_min = 1; in snd_pcm_rate_drain() 1132 snd_pcm_sw_params(rate->gen.slave, &sw_params); in snd_pcm_rate_drain() 1170 sw_params.avail_min = saved_avail_min; in snd_pcm_rate_drain() 1171 snd_pcm_sw_params(rate->gen.slave, &sw_params); in snd_pcm_rate_drain() 1311 .sw_params = snd_pcm_rate_sw_params,
|
D | pcm_direct.c | 1147 snd_pcm_sw_params_t sw_params = {0}; local 1306 ret = snd_pcm_sw_params_current(spcm, &sw_params); 1312 ret = snd_pcm_sw_params_get_boundary(&sw_params, &boundary); 1317 ret = snd_pcm_sw_params_set_stop_threshold(spcm, &sw_params, boundary); 1327 ret = snd_pcm_sw_params_set_tstamp_mode(spcm, &sw_params, 1335 ret = snd_pcm_sw_params_set_tstamp_type(spcm, &sw_params, 1347 ret = snd_pcm_sw_params_set_silence_threshold(spcm, &sw_params, 0); 1352 ret = snd_pcm_sw_params_set_silence_size(spcm, &sw_params, boundary); 1360 ret = snd_pcm_sw_params(spcm, &sw_params);
|
D | pcm_share.c | 89 snd_pcm_sw_params_t sw_params; member 394 snd_pcm_sw_params_set_avail_min(spcm, &slave->sw_params, avail_min); in snd_pcm_share_thread() 395 err = snd_pcm_sw_params(spcm, &slave->sw_params); in snd_pcm_share_thread() 448 snd_pcm_sw_params_set_avail_min(spcm, &slave->sw_params, avail_min); in _snd_pcm_share_update() 449 err = snd_pcm_sw_params(spcm, &slave->sw_params); in _snd_pcm_share_update() 654 snd_pcm_sw_params_current(slave->pcm, &slave->sw_params); in snd_pcm_share_hw_params() 1319 .sw_params = snd_pcm_share_sw_params,
|
D | pcm_shm.c | 322 ctrl->u.sw_params = *params; in snd_pcm_shm_sw_params() 324 *params = ctrl->u.sw_params; in snd_pcm_shm_sw_params() 600 .sw_params = snd_pcm_shm_sw_params,
|
D | pcm_copy.c | 161 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_ioplug.c | 470 if (!io->data->callback->sw_params) in snd_pcm_ioplug_sw_params() 474 err = io->data->callback->sw_params(io->data, params); in snd_pcm_ioplug_sw_params() 918 .sw_params = snd_pcm_ioplug_sw_params,
|
D | pcm_null.c | 331 .sw_params = snd_pcm_null_sw_params,
|
D | pcm_alaw.c | 400 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_mmap_emul.c | 362 .sw_params = snd_pcm_mmap_emul_sw_params,
|
D | pcm_mulaw.c | 415 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_lfloat.c | 359 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_linear.c | 403 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_adpcm.c | 527 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_hooks.c | 161 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_iec958.c | 538 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_extplug.c | 466 .sw_params = snd_pcm_generic_sw_params,
|
D | pcm_dsnoop.c | 504 .sw_params = snd_pcm_direct_sw_params,
|
/third_party/alsa-utils/axfer/ |
D | xfer-libasound.c | 76 return snd_pcm_sw_params_malloc(&state->sw_params); in xfer_libasound_init() 589 state->sw_params, frame_count); in configure_sw_params() 610 state->sw_params, frame_count); in configure_sw_params() 631 state->sw_params, frame_count); in configure_sw_params() 639 return snd_pcm_sw_params(state->handle, state->sw_params); in configure_sw_params() 677 err = snd_pcm_sw_params_current(state->handle, state->sw_params); in xfer_libasound_pre_process() 730 snd_pcm_sw_params_dump(state->sw_params, state->log); in xfer_libasound_pre_process() 880 if (state->sw_params) in xfer_libasound_destroy() 881 snd_pcm_sw_params_free(state->sw_params); in xfer_libasound_destroy() 883 state->sw_params = NULL; in xfer_libasound_destroy()
|
D | xfer-libasound-irq-rw.c | 129 err = snd_pcm_sw_params_get_avail_min(state->sw_params, in r_process_frames_blocking() 137 err = snd_pcm_sw_params_get_start_threshold(state->sw_params, in r_process_frames_blocking() 274 err = snd_pcm_sw_params_get_avail_min(state->sw_params, in w_process_frames_blocking() 285 err = snd_pcm_sw_params_get_start_threshold(state->sw_params, in w_process_frames_blocking()
|
D | xfer-libasound.h | 31 snd_pcm_sw_params_t *sw_params; member
|
D | xfer-libasound-timer-mmap.c | 38 state->sw_params, 1); in timer_mmap_pre_process()
|
/third_party/libsnd/programs/ |
D | sndfile-play.c | 154 snd_pcm_sw_params_t *sw_params ; in alsa_open() local 229 if ((err = snd_pcm_sw_params_malloc (&sw_params)) != 0) in alsa_open() 234 if ((err = snd_pcm_sw_params_current (alsa_dev, sw_params)) != 0) in alsa_open() 240 snd_pcm_sw_params_current (alsa_dev, sw_params) ; in alsa_open() 242 if ((err = snd_pcm_sw_params_set_start_threshold (alsa_dev, sw_params, buffer_size)) < 0) in alsa_open() 247 if ((err = snd_pcm_sw_params (alsa_dev, sw_params)) != 0) in alsa_open() 252 snd_pcm_sw_params_free (sw_params) ; in alsa_open()
|
/third_party/alsa-lib/include/ |
D | aserver.h | 74 snd_pcm_sw_params_t sw_params; member
|
D | pcm_ioplug.h | 165 int (*sw_params)(snd_pcm_ioplug_t *io, snd_pcm_sw_params_t *params); member
|