| /third_party/alsa-lib/src/pcm/ |
| H A D | pcm_generic.h | 23 snd_pcm_t *slave; 115 int snd_pcm_generic_close(snd_pcm_t *pcm); 116 int snd_pcm_generic_nonblock(snd_pcm_t *pcm, int nonblock); 117 int snd_pcm_generic_async(snd_pcm_t *pcm, int sig, pid_t pid); 118 int snd_pcm_generic_poll_descriptors_count(snd_pcm_t *pcm); 119 int snd_pcm_generic_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space); 120 int snd_pcm_generic_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 121 int snd_pcm_generic_info(snd_pcm_t *pcm, snd_pcm_info_t * info); 122 int snd_pcm_generic_hw_free(snd_pcm_t *pcm); 123 int snd_pcm_generic_sw_params(snd_pcm_t *pc [all...] |
| H A D | pcm_local.h | 114 snd_pcm_t *master; 119 snd_pcm_t **link_dst; 121 void (*changed)(snd_pcm_t *pcm, snd_pcm_t *src); 144 int (*close)(snd_pcm_t *pcm); 145 int (*nonblock)(snd_pcm_t *pcm, int nonblock); /* always locked */ 146 int (*async)(snd_pcm_t *pcm, int sig, pid_t pid); 147 int (*info)(snd_pcm_t *pcm, snd_pcm_info_t *info); 148 int (*hw_refine)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params); 149 int (*hw_params)(snd_pcm_t *pc [all...] |
| H A 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 short *revents) 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 *pc [all...] |
| H A D | pcm_direct.h | 141 snd_pcm_t *spcm; /* slave PCM handle */ 151 int (*sync_ptr)(snd_pcm_t *pcm); 323 int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, struct slave_params *params); 324 int snd_pcm_direct_initialize_secondary_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, struct slave_params *params); 326 int snd_pcm_direct_check_interleave(snd_pcm_direct_t *dmix, snd_pcm_t *pcm); 330 int snd_pcm_direct_nonblock(snd_pcm_t *pcm, int nonblock); 331 int snd_pcm_direct_async(snd_pcm_t *pcm, int sig, pid_t pid); 332 int snd_pcm_direct_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, 334 int snd_pcm_direct_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 335 int snd_pcm_direct_info(snd_pcm_t *pc [all...] |
| H A D | pcm_null.c | 50 static int snd_pcm_null_close(snd_pcm_t *pcm) in snd_pcm_null_close() 58 static int snd_pcm_null_nonblock(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int nonblock ATTRIBUTE_UNUSED) in snd_pcm_null_nonblock() 63 static int snd_pcm_null_async(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int sig ATTRIBUTE_UNUSED, pid_t pid ATTRIBUTE_UNUSED) in snd_pcm_null_async() 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() 113 static int snd_pcm_null_hwsync(snd_pcm_t *pcm ATTRIBUTE_UNUSED) in snd_pcm_null_hwsync() 118 static int snd_pcm_null_delay(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sframes_t *delayp) in snd_pcm_null_delay() 124 static int snd_pcm_null_reset(snd_pcm_t *pc [all...] |
| H A D | pcm.c | 708 static int bad_pcm_state(snd_pcm_t *pcm, unsigned int supported_states, in bad_pcm_state() 736 const char *snd_pcm_name(snd_pcm_t *pcm) in snd_pcm_name() 749 snd_pcm_type_t snd_pcm_type(snd_pcm_t *pcm) in snd_pcm_type() 762 snd_pcm_stream_t snd_pcm_stream(snd_pcm_t *pcm) in snd_pcm_stream() 776 int snd_pcm_close(snd_pcm_t *pcm) in snd_pcm_close() 812 int snd_pcm_nonblock(snd_pcm_t *pcm, int nonblock) in snd_pcm_nonblock() 854 int snd_pcm_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_async() 882 int snd_pcm_info(snd_pcm_t *pcm, snd_pcm_info_t *info) in snd_pcm_info() 900 int snd_pcm_hw_params_current(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hw_params_current() 951 int snd_pcm_hw_params(snd_pcm_t *pc [all...] |
| H A D | pcm_shm.c | 61 static long snd_pcm_shm_action_fd0(snd_pcm_t *pcm, int *fd) in snd_pcm_shm_action_fd0() 81 static int snd_pcm_shm_new_rbptr(snd_pcm_t *pcm, snd_pcm_shm_t *shm, in snd_pcm_shm_new_rbptr() 113 static long snd_pcm_shm_action(snd_pcm_t *pcm) in snd_pcm_shm_action() 148 static long snd_pcm_shm_action_fd(snd_pcm_t *pcm, int *fd) in snd_pcm_shm_action_fd() 182 static int snd_pcm_shm_nonblock(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int nonblock ATTRIBUTE_UNUSED) in snd_pcm_shm_nonblock() 187 static int snd_pcm_shm_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_shm_async() 197 static int snd_pcm_shm_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_shm_info() 211 static int snd_pcm_shm_hw_refine_cprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED) in snd_pcm_shm_hw_refine_cprepare() 216 static int snd_pcm_shm_hw_refine_sprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *sparams) in snd_pcm_shm_hw_refine_sprepare() 225 static int snd_pcm_shm_hw_refine_schange(snd_pcm_t *pc [all...] |
| H A D | pcm_plugin.c | 92 snd_pcm_plugin_undo_read(snd_pcm_t *pcm ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_read() 102 snd_pcm_plugin_undo_write(snd_pcm_t *pcm ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_write() 112 snd_pcm_plugin_undo_read_generic(snd_pcm_t *pcm ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_read_generic() 122 snd_pcm_plugin_undo_write_generic(snd_pcm_t *pcm ATTRIBUTE_UNUSED, in snd_pcm_plugin_undo_write_generic() 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() 151 snd_pcm_t *slave = plugin->gen.slave; 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 *pc [all...] |
| H A D | pcm_copy.c | 45 static int snd_pcm_copy_hw_refine_cprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params) in snd_pcm_copy_hw_refine_cprepare() 57 static int snd_pcm_copy_hw_refine_sprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *sparams) in snd_pcm_copy_hw_refine_sprepare() 66 static int snd_pcm_copy_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_copy_hw_refine_schange() 77 static int snd_pcm_copy_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_copy_hw_refine_cchange() 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() 184 int snd_pcm_copy_open(snd_pcm_t **pcm [all...] |
| H A D | pcm_multi.c | 45 snd_pcm_t *pcm; 48 snd_pcm_t *linked; 67 static int snd_pcm_multi_close(snd_pcm_t *pcm) in snd_pcm_multi_close() 86 static int snd_pcm_multi_nonblock(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int nonblock ATTRIBUTE_UNUSED) in snd_pcm_multi_nonblock() 91 static int snd_pcm_multi_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_multi_async() 94 snd_pcm_t *slave_0 = multi->slaves[multi->master_slave].pcm; 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() 101 snd_pcm_t *slave_0 = multi->slaves[multi->master_slave].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() 108 snd_pcm_t *slav in snd_pcm_multi_poll_descriptors() [all...] |
| H A D | pcm_ioplug.c | 50 static int snd_pcm_ioplug_drop(snd_pcm_t *pcm); 51 static int snd_pcm_ioplug_poll_descriptors_count(snd_pcm_t *pcm); 52 static int snd_pcm_ioplug_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space); 53 static int snd_pcm_ioplug_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 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 *pc [all...] |
| H A D | pcm_dsnoop.c | 58 static int snoop_timestamp(snd_pcm_t *pcm) in snoop_timestamp() 103 static void snd_pcm_dsnoop_sync_area(snd_pcm_t *pcm, snd_pcm_uframes_t slave_hw_ptr, snd_pcm_uframes_t size) in snd_pcm_dsnoop_sync_area() 131 static int snd_pcm_dsnoop_sync_ptr(snd_pcm_t *pcm) in snd_pcm_dsnoop_sync_ptr() 170 static int snd_pcm_dsnoop_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_dsnoop_status() 197 static snd_pcm_state_t snd_pcm_dsnoop_state(snd_pcm_t *pcm) in snd_pcm_dsnoop_state() 205 static int snd_pcm_dsnoop_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_dsnoop_delay() 230 static int snd_pcm_dsnoop_hwsync(snd_pcm_t *pcm) in snd_pcm_dsnoop_hwsync() 250 static int snd_pcm_dsnoop_reset(snd_pcm_t *pcm) in snd_pcm_dsnoop_reset() 259 static int snd_pcm_dsnoop_start(snd_pcm_t *pcm) in snd_pcm_dsnoop_start() 277 static int snd_pcm_dsnoop_drop(snd_pcm_t *pc [all...] |
| H A 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() 277 snd_pcm_t *slave = map->gen.slave; in sync_slave_write() 297 sync_slave_read(snd_pcm_t *pc [all...] |
| H A D | pcm_plugin.h | 25 (snd_pcm_t *pcm, 34 (snd_pcm_t *pcm, 46 int (*init)(snd_pcm_t *pcm); 69 snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames); 70 snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames); 71 int snd_pcm_plugin_may_wait_for_avail_min_conv(snd_pcm_t *pcm, snd_pcm_uframes_t avail, 72 snd_pcm_uframes_t (*conv)(snd_pcm_t *, snd_pcm_uframes_t)); 73 int snd_pcm_plugin_may_wait_for_avail_min(snd_pcm_t *pcm, snd_pcm_uframes_t avail); 78 (snd_pcm_t *pcm, 85 (snd_pcm_t *pc [all...] |
| H A D | pcm_plug.c | 49 snd_pcm_t *req_slave; 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() 86 snd_pcm_t *slave = plug->req_slave; in snd_pcm_plug_info() 351 static void snd_pcm_plug_clear(snd_pcm_t *pcm) in snd_pcm_plug_clear() 354 snd_pcm_t *slave = plug->req_slave; in snd_pcm_plug_clear() 376 static int snd_pcm_plug_change_rate(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_plug_params_t *clt, snd_pcm_plug_params_t *slv) in snd_pcm_plug_change_rate() 396 static int snd_pcm_plug_change_channels(snd_pcm_t *pcm, snd_pcm_t **ne [all...] |
| H A D | pcm_meter.c | 78 static void snd_pcm_meter_add_frames(snd_pcm_t *pcm, in snd_pcm_meter_add_frames() 106 static void snd_pcm_meter_update_main(snd_pcm_t *pcm) in snd_pcm_meter_update_main() 130 static int snd_pcm_meter_update_scope(snd_pcm_t *pcm) in snd_pcm_meter_update_scope() 189 snd_pcm_t *pcm = data; in snd_pcm_meter_thread() 191 snd_pcm_t *spcm = meter->gen.slave; in snd_pcm_meter_thread() 272 static int snd_pcm_meter_close(snd_pcm_t *pcm) in snd_pcm_meter_close() 293 static int snd_pcm_meter_prepare(snd_pcm_t *pcm) in snd_pcm_meter_prepare() 308 static int snd_pcm_meter_reset(snd_pcm_t *pcm) in snd_pcm_meter_reset() 319 static int snd_pcm_meter_start(snd_pcm_t *pcm) in snd_pcm_meter_start() 331 static snd_pcm_sframes_t snd_pcm_meter_rewind(snd_pcm_t *pc [all...] |
| H A D | pcm_dshare.c | 59 static void do_silence(snd_pcm_t *pcm) in do_silence() 108 static void snd_pcm_dshare_sync_area(snd_pcm_t *pcm) in snd_pcm_dshare_sync_area() 162 static int snd_pcm_dshare_sync_ptr0(snd_pcm_t *pcm, snd_pcm_uframes_t slave_hw_ptr) in snd_pcm_dshare_sync_ptr0() 200 static int snd_pcm_dshare_sync_ptr(snd_pcm_t *pcm) in snd_pcm_dshare_sync_ptr() 220 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm); 222 static int snd_pcm_dshare_status(snd_pcm_t *pcm, snd_pcm_status_t * status) in snd_pcm_dshare_status() 248 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm) in snd_pcm_dshare_state() 258 static int snd_pcm_dshare_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) in snd_pcm_dshare_delay() 284 static int snd_pcm_dshare_hwsync(snd_pcm_t *pcm) in snd_pcm_dshare_hwsync() 304 static int snd_pcm_dshare_reset(snd_pcm_t *pc [all...] |
| H A D | pcm_share.c | 77 snd_pcm_t *pcm; 103 snd_pcm_t *pcm; 119 static void _snd_pcm_share_stop(snd_pcm_t *pcm, snd_pcm_state_t state); 124 snd_pcm_t *pcm = slave->pcm; in snd_pcm_share_slave_avail() 151 snd_pcm_t *pcm = share->pcm; in _snd_pcm_share_slave_forward() 197 static snd_pcm_uframes_t _snd_pcm_share_missing(snd_pcm_t *pcm) in _snd_pcm_share_missing() 201 snd_pcm_t *spcm = slave->pcm; in _snd_pcm_share_missing() 354 snd_pcm_t *pcm = share->pcm; in _snd_pcm_share_slave_missing() 365 snd_pcm_t *spcm = slave->pcm; in snd_pcm_share_thread() 428 static void _snd_pcm_share_update(snd_pcm_t *pc [all...] |
| H A D | pcm_lfloat.c | 187 static int snd_pcm_lfloat_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_lfloat_hw_refine_cprepare() 210 static int snd_pcm_lfloat_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) in snd_pcm_lfloat_hw_refine_sprepare() 222 static int snd_pcm_lfloat_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_lfloat_hw_refine_schange() 240 static int snd_pcm_lfloat_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_lfloat_hw_refine_cchange() 258 static int snd_pcm_lfloat_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_lfloat_hw_refine() 268 static int snd_pcm_lfloat_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_lfloat_hw_params() 271 snd_pcm_t *slave = lfloat->plug.gen.slave; in snd_pcm_lfloat_hw_params() 300 snd_pcm_lfloat_write_areas(snd_pcm_t *pcm, in snd_pcm_lfloat_write_areas() 320 snd_pcm_lfloat_read_areas(snd_pcm_t *pcm, in snd_pcm_lfloat_read_areas() 339 static void snd_pcm_lfloat_dump(snd_pcm_t *pc [all...] |
| H A D | pcm_hw.c | 82 static snd_pcm_sframes_t snd_pcm_hw_avail_update(snd_pcm_t *pcm); 131 struct timespec snd_pcm_hw_fast_tstamp(snd_pcm_t *pcm) in snd_pcm_hw_fast_tstamp() 229 static int snd_pcm_hw_poll_descriptors_count(snd_pcm_t *pcm ATTRIBUTE_UNUSED) in snd_pcm_hw_poll_descriptors_count() 234 static int snd_pcm_hw_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) in snd_pcm_hw_poll_descriptors() 247 static int snd_pcm_hw_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned nfds, unsigned short *revents) in snd_pcm_hw_poll_revents() 263 static int snd_pcm_hw_nonblock(snd_pcm_t *pcm, int nonblock) in snd_pcm_hw_nonblock() 286 static int snd_pcm_hw_async(snd_pcm_t *pcm, int sig, pid_t pid) in snd_pcm_hw_async() 321 static int snd_pcm_hw_info(snd_pcm_t *pcm, snd_pcm_info_t * info) in snd_pcm_hw_info() 344 static int snd_pcm_hw_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_hw_hw_refine() 406 static int snd_pcm_hw_hw_params(snd_pcm_t *pc [all...] |
| H A D | pcm_adpcm.c | 323 static int snd_pcm_adpcm_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_adpcm_hw_refine_cprepare() 350 static int snd_pcm_adpcm_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) in snd_pcm_adpcm_hw_refine_sprepare() 362 static int snd_pcm_adpcm_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_adpcm_hw_refine_schange() 380 static int snd_pcm_adpcm_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_adpcm_hw_refine_cchange() 398 static int snd_pcm_adpcm_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_adpcm_hw_refine() 408 static int snd_pcm_adpcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) in snd_pcm_adpcm_hw_params() 448 static int snd_pcm_adpcm_hw_free(snd_pcm_t *pcm) in snd_pcm_adpcm_hw_free() 456 static int snd_pcm_adpcm_init(snd_pcm_t *pcm) in snd_pcm_adpcm_init() 468 snd_pcm_adpcm_write_areas(snd_pcm_t *pcm, in snd_pcm_adpcm_write_areas() 488 snd_pcm_adpcm_read_areas(snd_pcm_t *pc [all...] |
| /third_party/alsa-lib/include/ |
| H A D | pcm_old.h | 15 int snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val); 16 int snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val); 17 snd_pcm_access_t snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params); 18 snd_pcm_access_t snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params); 19 int snd_pcm_hw_params_set_access_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask); 27 int snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val); 28 int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val); 29 snd_pcm_format_t snd_pcm_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params); 30 snd_pcm_format_t snd_pcm_hw_params_set_format_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params); 31 int snd_pcm_hw_params_set_format_mask(snd_pcm_t *pc [all...] |
| H A D | pcm.h | 418 typedef struct _snd_pcm snd_pcm_t; typedef 521 int snd_pcm_open(snd_pcm_t **pcm, const char *name, 523 int snd_pcm_open_lconf(snd_pcm_t **pcm, const char *name, 526 int snd_pcm_open_fallback(snd_pcm_t **pcm, snd_config_t *root, 530 int snd_pcm_close(snd_pcm_t *pcm); 531 const char *snd_pcm_name(snd_pcm_t *pcm); 532 snd_pcm_type_t snd_pcm_type(snd_pcm_t *pcm); 533 snd_pcm_stream_t snd_pcm_stream(snd_pcm_t *pcm); 534 int snd_pcm_poll_descriptors_count(snd_pcm_t *pcm); 535 int snd_pcm_poll_descriptors(snd_pcm_t *pc [all...] |
| H A D | pcm_plugin.h | 69 int snd_pcm_hw_open(snd_pcm_t **pcmp, const char *name, 73 int _snd_pcm_hw_open(snd_pcm_t **pcmp, const char *name, 80 int snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name, 81 snd_pcm_t *slave, int close_slave); 82 int _snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name, 89 int snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, 90 snd_pcm_format_t sformat, snd_pcm_t *slave, 92 int _snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, 99 int snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name, 100 snd_pcm_format_t sformat, snd_pcm_t *slav [all...] |
| /third_party/pulseaudio/src/modules/alsa/ |
| H A D | alsa-util.h | 44 snd_pcm_t *pcm_handle, 54 snd_pcm_t *pcm, 59 snd_pcm_t *pa_alsa_open_by_device_id_auto( 74 snd_pcm_t *pa_alsa_open_by_device_id_mapping( 88 snd_pcm_t *pa_alsa_open_by_device_string( 102 snd_pcm_t *pa_alsa_open_by_template( 116 void pa_alsa_dump(pa_log_level_t level, snd_pcm_t *pcm); 117 void pa_alsa_dump_status(snd_pcm_t *pcm); 124 void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm); 128 int pa_alsa_recover_from_poll(snd_pcm_t *pc [all...] |