/third_party/alsa-lib/src/pcm/ |
D | pcm_generic.c | 36 int snd_pcm_generic_close(snd_pcm_t *pcm) in snd_pcm_generic_close() 46 int snd_pcm_generic_nonblock(snd_pcm_t *pcm, int nonblock) in snd_pcm_generic_nonblock() 52 int snd_pcm_generic_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_generic_async() 58 int snd_pcm_generic_poll_descriptors_count(snd_pcm_t *pcm) in snd_pcm_generic_poll_descriptors_count() 64 int snd_pcm_generic_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) in snd_pcm_generic_poll_descriptors() 70 int snd_pcm_generic_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned s… in snd_pcm_generic_poll_revents() 76 int snd_pcm_generic_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_generic_info() 82 int snd_pcm_generic_hw_free(snd_pcm_t *pcm) in snd_pcm_generic_hw_free() 88 int snd_pcm_generic_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t *params) in snd_pcm_generic_sw_params() 94 int snd_pcm_generic_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_generic_hw_refine() [all …]
|
D | pcm_null.c | 50 static int snd_pcm_null_close(snd_pcm_t *pcm) in snd_pcm_null_close() 68 static int snd_pcm_null_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_null_info() 82 static snd_pcm_sframes_t snd_pcm_null_avail_update(snd_pcm_t *pcm) in snd_pcm_null_avail_update() 93 static int snd_pcm_null_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_null_status() 107 static snd_pcm_state_t snd_pcm_null_state(snd_pcm_t *pcm) in snd_pcm_null_state() 124 static int snd_pcm_null_reset(snd_pcm_t *pcm) in snd_pcm_null_reset() 131 static int snd_pcm_null_prepare(snd_pcm_t *pcm) in snd_pcm_null_prepare() 138 static int snd_pcm_null_start(snd_pcm_t *pcm) in snd_pcm_null_start() 150 static int snd_pcm_null_drop(snd_pcm_t *pcm) in snd_pcm_null_drop() 158 static int snd_pcm_null_drain(snd_pcm_t *pcm) in snd_pcm_null_drain() [all …]
|
D | pcm_ioplug.c | 57 static void snd_pcm_ioplug_hw_ptr_update(snd_pcm_t *pcm) in snd_pcm_ioplug_hw_ptr_update() 91 static int snd_pcm_ioplug_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_ioplug_info() 105 static int snd_pcm_ioplug_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t *info) in snd_pcm_ioplug_channel_info() 110 static int snd_pcm_ioplug_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_ioplug_delay() 124 static int snd_pcm_ioplug_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_ioplug_status() 144 static snd_pcm_state_t snd_pcm_ioplug_state(snd_pcm_t *pcm) in snd_pcm_ioplug_state() 150 static int snd_pcm_ioplug_hwsync(snd_pcm_t *pcm) in snd_pcm_ioplug_hwsync() 156 static int snd_pcm_ioplug_reset(snd_pcm_t *pcm) in snd_pcm_ioplug_reset() 167 static int snd_pcm_ioplug_prepare(snd_pcm_t *pcm) in snd_pcm_ioplug_prepare() 285 static int snd_pcm_ioplug_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_ioplug_hw_refine() [all …]
|
D | pcm_dshare.c | 58 static void do_silence(snd_pcm_t *pcm) in do_silence() 107 static void snd_pcm_dshare_sync_area(snd_pcm_t *pcm) in snd_pcm_dshare_sync_area() 161 static int snd_pcm_dshare_sync_ptr0(snd_pcm_t *pcm, snd_pcm_uframes_t slave_hw_ptr) in snd_pcm_dshare_sync_ptr0() 199 static int snd_pcm_dshare_sync_ptr(snd_pcm_t *pcm) in snd_pcm_dshare_sync_ptr() 229 static int snd_pcm_dshare_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_dshare_status() 255 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm) in snd_pcm_dshare_state() 279 static int snd_pcm_dshare_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_dshare_delay() 305 static int snd_pcm_dshare_hwsync(snd_pcm_t *pcm) in snd_pcm_dshare_hwsync() 325 static int snd_pcm_dshare_reset(snd_pcm_t *pcm) in snd_pcm_dshare_reset() 335 static int snd_pcm_dshare_start_timer(snd_pcm_t *pcm, snd_pcm_direct_t *dshare) in snd_pcm_dshare_start_timer() [all …]
|
D | pcm_dsnoop.c | 57 static int snoop_timestamp(snd_pcm_t *pcm) in snoop_timestamp() 102 static void snd_pcm_dsnoop_sync_area(snd_pcm_t *pcm, snd_pcm_uframes_t slave_hw_ptr, snd_pcm_uframe… in snd_pcm_dsnoop_sync_area() 130 static int snd_pcm_dsnoop_sync_ptr(snd_pcm_t *pcm) in snd_pcm_dsnoop_sync_ptr() 179 static int snd_pcm_dsnoop_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_dsnoop_status() 206 static snd_pcm_state_t snd_pcm_dsnoop_state(snd_pcm_t *pcm) in snd_pcm_dsnoop_state() 228 static int snd_pcm_dsnoop_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_dsnoop_delay() 253 static int snd_pcm_dsnoop_hwsync(snd_pcm_t *pcm) in snd_pcm_dsnoop_hwsync() 273 static int snd_pcm_dsnoop_reset(snd_pcm_t *pcm) in snd_pcm_dsnoop_reset() 283 static int snd_pcm_dsnoop_start(snd_pcm_t *pcm) in snd_pcm_dsnoop_start() 302 static int snd_pcm_dsnoop_drop(snd_pcm_t *pcm) in snd_pcm_dsnoop_drop() [all …]
|
D | pcm_shm.c | 60 static long snd_pcm_shm_action_fd0(snd_pcm_t *pcm, int *fd) in snd_pcm_shm_action_fd0() 80 static int snd_pcm_shm_new_rbptr(snd_pcm_t *pcm, snd_pcm_shm_t *shm, in snd_pcm_shm_new_rbptr() 112 static long snd_pcm_shm_action(snd_pcm_t *pcm) in snd_pcm_shm_action() 147 static long snd_pcm_shm_action_fd(snd_pcm_t *pcm, int *fd) in snd_pcm_shm_action_fd() 186 static int snd_pcm_shm_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_shm_async() 196 static int snd_pcm_shm_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_shm_info() 262 static int snd_pcm_shm_hw_refine_slave(snd_pcm_t *pcm, in snd_pcm_shm_hw_refine_slave() 275 static int snd_pcm_shm_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_shm_hw_refine() 285 static int snd_pcm_shm_hw_params_slave(snd_pcm_t *pcm, in snd_pcm_shm_hw_params_slave() 299 static int snd_pcm_shm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) in snd_pcm_shm_hw_params() [all …]
|
D | pcm_multi.c | 45 snd_pcm_t *pcm; member 67 static int snd_pcm_multi_close(snd_pcm_t *pcm) in snd_pcm_multi_close() 91 static int snd_pcm_multi_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_multi_async() 98 static int snd_pcm_multi_poll_descriptors_count(snd_pcm_t *pcm) in snd_pcm_multi_poll_descriptors_count() 105 static int snd_pcm_multi_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) in snd_pcm_multi_poll_descriptors() 125 static int snd_pcm_multi_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsig… in snd_pcm_multi_poll_revents() 132 static int snd_pcm_multi_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_multi_info() 146 static int snd_pcm_multi_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_multi_hw_refine_cprepare() 165 static int snd_pcm_multi_hw_refine_sprepare(snd_pcm_t *pcm, unsigned int slave_idx, in snd_pcm_multi_hw_refine_sprepare() 247 static int snd_pcm_multi_hw_refine_slave(snd_pcm_t *pcm, in snd_pcm_multi_hw_refine_slave() [all …]
|
D | pcm_mmap.c | 32 void snd_pcm_mmap_appl_backward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_appl_backward() 41 void snd_pcm_mmap_appl_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_appl_forward() 50 void snd_pcm_mmap_hw_backward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_hw_backward() 59 void snd_pcm_mmap_hw_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_hw_forward() 68 static snd_pcm_sframes_t snd_pcm_mmap_write_areas(snd_pcm_t *pcm, in snd_pcm_mmap_write_areas() 100 static snd_pcm_sframes_t snd_pcm_mmap_read_areas(snd_pcm_t *pcm, in snd_pcm_mmap_read_areas() 149 snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) in snd_pcm_mmap_writei() 174 snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) in snd_pcm_mmap_writen() 199 snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size) in snd_pcm_mmap_readi() 224 snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) in snd_pcm_mmap_readn() [all …]
|
D | pcm_mmap_emul.c | 55 static int snd_pcm_mmap_emul_hw_refine(snd_pcm_t *pcm, in snd_pcm_mmap_emul_hw_refine() 153 static int snd_pcm_mmap_emul_hw_params(snd_pcm_t *pcm, in snd_pcm_mmap_emul_hw_params() 209 static int snd_pcm_mmap_emul_sw_params(snd_pcm_t *pcm, in snd_pcm_mmap_emul_sw_params() 230 static int snd_pcm_mmap_emul_prepare(snd_pcm_t *pcm) in snd_pcm_mmap_emul_prepare() 242 static int snd_pcm_mmap_emul_reset(snd_pcm_t *pcm) in snd_pcm_mmap_emul_reset() 255 snd_pcm_mmap_emul_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_emul_rewind() 264 snd_pcm_mmap_emul_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_mmap_emul_forward() 274 sync_slave_write(snd_pcm_t *pcm) in sync_slave_write() 297 sync_slave_read(snd_pcm_t *pcm) in sync_slave_read() 317 snd_pcm_mmap_emul_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset, in snd_pcm_mmap_emul_mmap_commit() [all …]
|
D | pcm_dmix.c | 311 static void snd_pcm_dmix_sync_area(snd_pcm_t *pcm) in snd_pcm_dmix_sync_area() 388 static int snd_pcm_dmix_sync_ptr0(snd_pcm_t *pcm, snd_pcm_uframes_t slave_hw_ptr) in snd_pcm_dmix_sync_ptr0() 424 static int snd_pcm_dmix_sync_ptr(snd_pcm_t *pcm) in snd_pcm_dmix_sync_ptr() 452 static snd_pcm_state_t snd_pcm_dmix_state(snd_pcm_t *pcm) in snd_pcm_dmix_state() 476 static int snd_pcm_dmix_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_dmix_status() 503 static int snd_pcm_dmix_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_dmix_delay() 529 static int snd_pcm_dmix_hwsync(snd_pcm_t *pcm) in snd_pcm_dmix_hwsync() 551 static int snd_pcm_dmix_reset(snd_pcm_t *pcm) in snd_pcm_dmix_reset() 561 static int snd_pcm_dmix_start_timer(snd_pcm_t *pcm, snd_pcm_direct_t *dmix) in snd_pcm_dmix_start_timer() 575 static int snd_pcm_dmix_start(snd_pcm_t *pcm) in snd_pcm_dmix_start() [all …]
|
D | pcm_plugin.c | 138 static int snd_pcm_plugin_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_plugin_delay() 149 static int snd_pcm_plugin_call_init_cb(snd_pcm_t *pcm, snd_pcm_plugin_t *plugin) in snd_pcm_plugin_call_init_cb() 165 static int snd_pcm_plugin_prepare(snd_pcm_t *pcm) in snd_pcm_plugin_prepare() 175 static int snd_pcm_plugin_reset(snd_pcm_t *pcm) in snd_pcm_plugin_reset() 185 static snd_pcm_sframes_t snd_pcm_plugin_rewindable(snd_pcm_t *pcm) in snd_pcm_plugin_rewindable() 190 snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_plugin_rewind() 209 static snd_pcm_sframes_t snd_pcm_plugin_forwardable(snd_pcm_t *pcm) in snd_pcm_plugin_forwardable() 214 snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_plugin_forward() 233 static snd_pcm_sframes_t snd_pcm_plugin_write_areas(snd_pcm_t *pcm, in snd_pcm_plugin_write_areas() 290 static snd_pcm_sframes_t snd_pcm_plugin_read_areas(snd_pcm_t *pcm, in snd_pcm_plugin_read_areas() [all …]
|
D | pcm.c | 696 static int bad_pcm_state(snd_pcm_t *pcm, unsigned int supported_states, in bad_pcm_state() 724 const char *snd_pcm_name(snd_pcm_t *pcm) in snd_pcm_name() 737 snd_pcm_type_t snd_pcm_type(snd_pcm_t *pcm) in snd_pcm_type() 750 snd_pcm_stream_t snd_pcm_stream(snd_pcm_t *pcm) in snd_pcm_stream() 764 int snd_pcm_close(snd_pcm_t *pcm) in snd_pcm_close() 800 int snd_pcm_nonblock(snd_pcm_t *pcm, int nonblock) in snd_pcm_nonblock() 842 int snd_pcm_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_async() 870 int snd_pcm_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_info() 887 int snd_pcm_hw_params_current(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hw_params_current() 938 int snd_pcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hw_params() [all …]
|
D | pcm_hw.c | 124 struct timespec snd_pcm_hw_fast_tstamp(snd_pcm_t *pcm) in snd_pcm_hw_fast_tstamp() 227 static int snd_pcm_hw_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) in snd_pcm_hw_poll_descriptors() 240 static int snd_pcm_hw_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned nfds, unsigned sho… in snd_pcm_hw_poll_revents() 256 static int snd_pcm_hw_nonblock(snd_pcm_t *pcm, int nonblock) in snd_pcm_hw_nonblock() 279 static int snd_pcm_hw_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_hw_async() 314 static int snd_pcm_hw_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_hw_info() 334 static int snd_pcm_hw_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hw_hw_refine() 380 static int snd_pcm_hw_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) in snd_pcm_hw_hw_params() 403 static int snd_pcm_hw_change_timer(snd_pcm_t *pcm, int enable) in snd_pcm_hw_change_timer() 483 static int snd_pcm_hw_hw_free(snd_pcm_t *pcm) in snd_pcm_hw_hw_free() [all …]
|
D | pcm_share.c | 77 snd_pcm_t *pcm; member 103 snd_pcm_t *pcm; member 124 snd_pcm_t *pcm = slave->pcm; in snd_pcm_share_slave_avail() local 151 snd_pcm_t *pcm = share->pcm; in _snd_pcm_share_slave_forward() local 197 static snd_pcm_uframes_t _snd_pcm_share_missing(snd_pcm_t *pcm) in _snd_pcm_share_missing() 345 snd_pcm_t *pcm = share->pcm; in _snd_pcm_share_slave_missing() local 419 static void _snd_pcm_share_update(snd_pcm_t *pcm) in _snd_pcm_share_update() 468 static int snd_pcm_share_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_share_info() 474 static int snd_pcm_share_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_share_hw_refine_cprepare() 518 static int snd_pcm_share_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) in snd_pcm_share_hw_refine_sprepare() [all …]
|
D | pcm_meter.c | 76 static void snd_pcm_meter_add_frames(snd_pcm_t *pcm, in snd_pcm_meter_add_frames() 104 static void snd_pcm_meter_update_main(snd_pcm_t *pcm) in snd_pcm_meter_update_main() 128 static int snd_pcm_meter_update_scope(snd_pcm_t *pcm) in snd_pcm_meter_update_scope() 187 snd_pcm_t *pcm = data; in snd_pcm_meter_thread() local 270 static int snd_pcm_meter_close(snd_pcm_t *pcm) in snd_pcm_meter_close() 291 static int snd_pcm_meter_prepare(snd_pcm_t *pcm) in snd_pcm_meter_prepare() 306 static int snd_pcm_meter_reset(snd_pcm_t *pcm) in snd_pcm_meter_reset() 317 static int snd_pcm_meter_start(snd_pcm_t *pcm) in snd_pcm_meter_start() 329 static snd_pcm_sframes_t snd_pcm_meter_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_meter_rewind() 338 static snd_pcm_sframes_t snd_pcm_meter_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_meter_forward() [all …]
|
D | pcm_rate.c | 155 static int snd_pcm_rate_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) in snd_pcm_rate_hw_refine_sprepare() 171 static int snd_pcm_rate_hw_refine_schange(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_rate_hw_refine_schange() 200 static int snd_pcm_rate_hw_refine_cchange(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_rate_hw_refine_cchange() 270 static int snd_pcm_rate_hw_refine(snd_pcm_t *pcm, in snd_pcm_rate_hw_refine() 352 static int snd_pcm_rate_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) in snd_pcm_rate_hw_params() 479 static int snd_pcm_rate_hw_free(snd_pcm_t *pcm) in snd_pcm_rate_hw_free() 492 static void recalc(snd_pcm_t *pcm, snd_pcm_uframes_t *val) in recalc() 509 static int snd_pcm_rate_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params) in snd_pcm_rate_sw_params() 558 static int snd_pcm_rate_init(snd_pcm_t *pcm) in snd_pcm_rate_init() 613 snd_pcm_rate_write_areas1(snd_pcm_t *pcm, in snd_pcm_rate_write_areas1() [all …]
|
D | pcm_extplug.c | 206 static int snd_pcm_extplug_hw_refine_cprepare(snd_pcm_t *pcm, in snd_pcm_extplug_hw_refine_cprepare() 223 static int snd_pcm_extplug_hw_refine_sprepare(snd_pcm_t *pcm, in snd_pcm_extplug_hw_refine_sprepare() 258 static int snd_pcm_extplug_hw_refine_schange(snd_pcm_t *pcm, in snd_pcm_extplug_hw_refine_schange() 268 static int snd_pcm_extplug_hw_refine_cchange(snd_pcm_t *pcm, in snd_pcm_extplug_hw_refine_cchange() 278 static int snd_pcm_extplug_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_extplug_hw_refine() 292 static int snd_pcm_extplug_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_extplug_hw_params() 323 static int snd_pcm_extplug_hw_free(snd_pcm_t *pcm) in snd_pcm_extplug_hw_free() 337 snd_pcm_extplug_write_areas(snd_pcm_t *pcm, in snd_pcm_extplug_write_areas() 359 snd_pcm_extplug_read_areas(snd_pcm_t *pcm, in snd_pcm_extplug_read_areas() 380 static int snd_pcm_extplug_init(snd_pcm_t *pcm) in snd_pcm_extplug_init() [all …]
|
D | pcm_file.c | 154 snd_pcm_t *pcm = file->gen.slave; in snd_pcm_file_replace_fname() local 290 static int snd_pcm_file_areas_read_infile(snd_pcm_t *pcm, in snd_pcm_file_areas_read_infile() 325 static void setup_wav_header(snd_pcm_t *pcm, struct wav_fmt *fmt) in setup_wav_header() 338 static int write_wav_header(snd_pcm_t *pcm) in write_wav_header() 389 static void fixup_wav_header(snd_pcm_t *pcm) in fixup_wav_header() 418 static int snd_pcm_file_write_bytes(snd_pcm_t *pcm, size_t bytes) in snd_pcm_file_write_bytes() 458 static int snd_pcm_file_add_frames(snd_pcm_t *pcm, in snd_pcm_file_add_frames() 492 static int snd_pcm_file_close(snd_pcm_t *pcm) in snd_pcm_file_close() 512 static int snd_pcm_file_reset(snd_pcm_t *pcm) in snd_pcm_file_reset() 524 static int snd_pcm_file_drop(snd_pcm_t *pcm) in snd_pcm_file_drop() [all …]
|
D | pcm_params.c | 107 int snd_pcm_hw_param_any(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_any() 275 int snd_pcm_hw_param_set_integer(snd_pcm_t *pcm, in snd_pcm_hw_param_set_integer() 335 int snd_pcm_hw_param_set_first(snd_pcm_t *pcm, in snd_pcm_hw_param_set_first() 377 int snd_pcm_hw_param_set_last(snd_pcm_t *pcm, in snd_pcm_hw_param_set_last() 429 int snd_pcm_hw_param_set_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set_min() 506 int snd_pcm_hw_param_set_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set_max() 617 int snd_pcm_hw_param_set_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set_minmax() 714 int snd_pcm_hw_param_set(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set() 771 int snd_pcm_hw_param_set_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set_mask() 812 int snd_pcm_hw_param_set_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, in snd_pcm_hw_param_set_near() [all …]
|
D | pcm_local.h | 411 static inline int snd_pcm_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t *info) in snd_pcm_channel_info() 432 static inline snd_pcm_sframes_t __snd_pcm_avail_update(snd_pcm_t *pcm) in __snd_pcm_avail_update() 439 static inline int __snd_pcm_start(snd_pcm_t *pcm) in __snd_pcm_start() 446 static inline snd_pcm_state_t __snd_pcm_state(snd_pcm_t *pcm) in __snd_pcm_state() 453 static inline int __snd_pcm_hwsync(snd_pcm_t *pcm) in __snd_pcm_hwsync() 460 static inline int __snd_pcm_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in __snd_pcm_delay() 468 static inline int snd_pcm_check_error(snd_pcm_t *pcm, int err) in snd_pcm_check_error() 492 static inline snd_pcm_uframes_t __snd_pcm_playback_avail(snd_pcm_t *pcm, in __snd_pcm_playback_avail() 505 static inline snd_pcm_uframes_t snd_pcm_mmap_playback_avail(snd_pcm_t *pcm) in snd_pcm_mmap_playback_avail() 517 static inline snd_pcm_uframes_t __snd_pcm_capture_avail(snd_pcm_t *pcm, in __snd_pcm_capture_avail() [all …]
|
D | pcm_copy.c | 88 static int snd_pcm_copy_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_copy_hw_refine() 98 static int snd_pcm_copy_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_copy_hw_params() 108 snd_pcm_copy_write_areas(snd_pcm_t *pcm, in snd_pcm_copy_write_areas() 126 snd_pcm_copy_read_areas(snd_pcm_t *pcm, in snd_pcm_copy_read_areas() 143 static void snd_pcm_copy_dump(snd_pcm_t *pcm, snd_output_t *out) in snd_pcm_copy_dump() 186 snd_pcm_t *pcm; in snd_pcm_copy_open() local
|
D | pcm_hooks.c | 40 snd_pcm_t *pcm; member 58 static int hook_add_dlobj(snd_pcm_t *pcm, void *dlobj) in hook_add_dlobj() 79 static int snd_pcm_hooks_close(snd_pcm_t *pcm) in snd_pcm_hooks_close() 111 static int snd_pcm_hooks_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hooks_hw_params() 127 static int snd_pcm_hooks_hw_free(snd_pcm_t *pcm) in snd_pcm_hooks_hw_free() 143 static void snd_pcm_hooks_dump(snd_pcm_t *pcm, snd_output_t *out) in snd_pcm_hooks_dump() 218 snd_pcm_t *pcm; in snd_pcm_hooks_open() local 341 static int snd_pcm_hook_add_conf(snd_pcm_t *pcm, snd_config_t *root, snd_config_t *conf) in snd_pcm_hook_add_conf() 600 int snd_pcm_hook_add(snd_pcm_hook_t **hookp, snd_pcm_t *pcm, in snd_pcm_hook_add() 666 int _snd_pcm_hook_ctl_elems_install(snd_pcm_t *pcm, snd_config_t *conf) in _snd_pcm_hook_ctl_elems_install()
|
D | pcm_plug.c | 62 static int snd_pcm_plug_close(snd_pcm_t *pcm) in snd_pcm_plug_close() 83 static int snd_pcm_plug_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_plug_info() 346 static void snd_pcm_plug_clear(snd_pcm_t *pcm) in snd_pcm_plug_clear() 371 static int snd_pcm_plug_change_rate(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_plug_params_t *clt, sn… in snd_pcm_plug_change_rate() 391 static int snd_pcm_plug_change_channels(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_plug_params_t *clt… in snd_pcm_plug_change_channels() 493 static int snd_pcm_plug_change_format(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_plug_params_t *clt, … in snd_pcm_plug_change_format() 587 static int snd_pcm_plug_change_access(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_plug_params_t *clt, … in snd_pcm_plug_change_access() 601 static int snd_pcm_plug_change_mmap(snd_pcm_t *pcm, snd_pcm_t **new, in snd_pcm_plug_change_mmap() 638 static int snd_pcm_plug_insert_plugins(snd_pcm_t *pcm, in snd_pcm_plug_insert_plugins() 713 static int snd_pcm_plug_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) in snd_pcm_plug_hw_refine_sprepare() [all …]
|
/third_party/alsa-lib/test/ |
D | chmap.c | 32 static int query_chmaps(snd_pcm_t *pcm) in query_chmaps() 51 static int setup_pcm(snd_pcm_t *pcm, int format, int channels, int rate) in setup_pcm() 86 static int get_chmap(snd_pcm_t *pcm, int format, int channels, int rate) in get_chmap() 103 static int set_chmap(snd_pcm_t *pcm, int format, int channels, int rate, in set_chmap() 158 snd_pcm_t *pcm; in main() local
|
/third_party/alsa-utils/bat/ |
D | tinyalsa.c | 78 struct pcm *pcm = handle; in close_handle() local 162 static int latencytest_process_output(struct bat *bat, struct pcm *pcm, in latencytest_process_output() 196 static int play_sample(struct bat *bat, struct pcm *pcm, in play_sample() 286 struct pcm *pcm = NULL; in playback_tinyalsa() local 383 static int capture_sample(struct bat *bat, struct pcm *pcm, in capture_sample() 428 static int latencytest_process_input(struct bat *bat, struct pcm *pcm, in latencytest_process_input() 482 struct pcm *pcm; in record_tinyalsa() local
|