Home
last modified time | relevance | path

Searched refs:snd_pcm_t (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/alsa-lib/include/
Dpcm_old.h12 int snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val…
13 int snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val);
14 snd_pcm_access_t snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
15 snd_pcm_access_t snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
16 int snd_pcm_hw_params_set_access_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_m…
24 int snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val…
25 int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
26 snd_pcm_format_t snd_pcm_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
27 snd_pcm_format_t snd_pcm_hw_params_set_format_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
28 int snd_pcm_hw_params_set_format_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_m…
[all …]
Dpcm.h408 typedef struct _snd_pcm snd_pcm_t; typedef
504 int snd_pcm_open(snd_pcm_t **pcm, const char *name,
506 int snd_pcm_open_lconf(snd_pcm_t **pcm, const char *name,
509 int snd_pcm_open_fallback(snd_pcm_t **pcm, snd_config_t *root,
513 int snd_pcm_close(snd_pcm_t *pcm);
514 const char *snd_pcm_name(snd_pcm_t *pcm);
515 snd_pcm_type_t snd_pcm_type(snd_pcm_t *pcm);
516 snd_pcm_stream_t snd_pcm_stream(snd_pcm_t *pcm);
517 int snd_pcm_poll_descriptors_count(snd_pcm_t *pcm);
518 int snd_pcm_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space);
[all …]
Dpcm_plugin.h69 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 *slave,
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_generic.h23 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 s…
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 *pcm, snd_pcm_sw_params_t *params);
[all …]
Dpcm_local.h110 snd_pcm_t *master;
115 snd_pcm_t **link_dst;
117 void (*changed)(snd_pcm_t *pcm, snd_pcm_t *src);
140 int (*close)(snd_pcm_t *pcm);
141 int (*nonblock)(snd_pcm_t *pcm, int nonblock); /* always locked */
142 int (*async)(snd_pcm_t *pcm, int sig, pid_t pid);
143 int (*info)(snd_pcm_t *pcm, snd_pcm_info_t *info);
144 int (*hw_refine)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
145 int (*hw_params)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
146 int (*hw_free)(snd_pcm_t *pcm);
[all …]
Dpcm_generic.c36 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 …]
Dpcm_null.c50 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 … 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 *pcm) in snd_pcm_null_reset()
[all …]
Dpcm_direct.h141 snd_pcm_t *spcm; /* slave PCM handle */
151 int (*sync_ptr)(snd_pcm_t *pcm);
317 int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, struct slave_params *p…
318 int snd_pcm_direct_initialize_secondary_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, struct slave…
320 int snd_pcm_direct_check_interleave(snd_pcm_direct_t *dmix, snd_pcm_t *pcm);
324 int snd_pcm_direct_nonblock(snd_pcm_t *pcm, int nonblock);
325 int snd_pcm_direct_async(snd_pcm_t *pcm, int sig, pid_t pid);
326 int snd_pcm_direct_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds,
328 int snd_pcm_direct_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned sh…
329 int snd_pcm_direct_info(snd_pcm_t *pcm, snd_pcm_info_t * info);
[all …]
Dpcm.c696 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 …]
Dpcm_multi.c45 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 *slave; in snd_pcm_multi_poll_descriptors()
[all …]
Dpcm_shm.c60 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()
181 static int snd_pcm_shm_nonblock(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int nonblock ATTRIBUTE_UNUSED) in snd_pcm_shm_nonblock()
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()
210 static int snd_pcm_shm_hw_refine_cprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *par… in snd_pcm_shm_hw_refine_cprepare()
215 static int snd_pcm_shm_hw_refine_sprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *spa… in snd_pcm_shm_hw_refine_sprepare()
224 static int snd_pcm_shm_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *para… in snd_pcm_shm_hw_refine_schange()
[all …]
Dpcm_plugin.c92 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 *pcm) in snd_pcm_plugin_rewindable()
[all …]
Dpcm_ioplug.c50 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, unsi…
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()
[all …]
Dpcm_copy.c45 static int snd_pcm_copy_hw_refine_cprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *pa… 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 *sp… 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 *par… 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 *par… 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 **pcmp, const char *name, snd_pcm_t *slave, int close_slave) in snd_pcm_copy_open()
[all …]
Dpcm_mmap_emul.c55 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 *pcm) in sync_slave_read()
[all …]
Dpcm_share.c77 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()
345 snd_pcm_t *pcm = share->pcm; in _snd_pcm_share_slave_missing()
356 snd_pcm_t *spcm = slave->pcm; in snd_pcm_share_thread()
419 static void _snd_pcm_share_update(snd_pcm_t *pcm) in _snd_pcm_share_update()
[all …]
Dpcm_dsnoop.c57 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 …]
Dpcm_meter.c76 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()
189 snd_pcm_t *spcm = meter->gen.slave; in snd_pcm_meter_thread()
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()
[all …]
Dpcm_dshare.c58 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()
227 static snd_pcm_state_t snd_pcm_dshare_state(snd_pcm_t *pcm);
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()
[all …]
Dpcm_lfloat.c188 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()
211 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()
223 static int snd_pcm_lfloat_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *p… in snd_pcm_lfloat_hw_refine_schange()
241 static int snd_pcm_lfloat_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *p… in snd_pcm_lfloat_hw_refine_cchange()
259 static int snd_pcm_lfloat_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_lfloat_hw_refine()
269 static int snd_pcm_lfloat_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_lfloat_hw_params()
272 snd_pcm_t *slave = lfloat->plug.gen.slave; in snd_pcm_lfloat_hw_params()
301 snd_pcm_lfloat_write_areas(snd_pcm_t *pcm, in snd_pcm_lfloat_write_areas()
321 snd_pcm_lfloat_read_areas(snd_pcm_t *pcm, in snd_pcm_lfloat_read_areas()
340 static void snd_pcm_lfloat_dump(snd_pcm_t *pcm, snd_output_t *out) in snd_pcm_lfloat_dump()
[all …]
Dpcm_plug.c49 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()
346 static void snd_pcm_plug_clear(snd_pcm_t *pcm) in snd_pcm_plug_clear()
349 snd_pcm_t *slave = plug->req_slave; 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()
498 …int (*f)(snd_pcm_t **_pcm, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close… in snd_pcm_plug_change_format()
[all …]
Dpcm_hw.c82 static snd_pcm_sframes_t snd_pcm_hw_avail_update(snd_pcm_t *pcm);
124 struct timespec snd_pcm_hw_fast_tstamp(snd_pcm_t *pcm) in snd_pcm_hw_fast_tstamp()
222 static int snd_pcm_hw_poll_descriptors_count(snd_pcm_t *pcm ATTRIBUTE_UNUSED) in snd_pcm_hw_poll_descriptors_count()
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()
[all …]
Dpcm_plugin.h25 (snd_pcm_t *pcm,
34 (snd_pcm_t *pcm,
46 int (*init)(snd_pcm_t *pcm);
67 snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
68 snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
69 int snd_pcm_plugin_may_wait_for_avail_min(snd_pcm_t *pcm, snd_pcm_uframes_t avail);
74 (snd_pcm_t *pcm,
81 (snd_pcm_t *pcm,
Dpcm_file.c154 snd_pcm_t *pcm = file->gen.slave; in snd_pcm_file_replace_fname()
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 …]
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.h44 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 *pcm, int revents);
[all …]

1234