Searched refs:snd_pcm_sframes_t (Results 1 - 25 of 59) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/oss/
H A Dpcm_plugin.h62 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames);
63 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames);
64 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin,
67 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin,
94 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size);
95 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size);
132 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle,
135 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle,
139 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle,
143 snd_pcm_sframes_t snd_pcm_plugin_client_channel
[all...]
H A Drate.c49 snd_pcm_sframes_t old_src_frames, old_dst_frames;
183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames)
186 snd_pcm_sframes_t res;
199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames;
216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames)
219 snd_pcm_sframes_t res;
232 snd_pcm_sframes_t frames1 = frames, res1 = data->old_src_frames;
249 static snd_pcm_sframes_t rate_transfer(struct snd_pcm_plugin *plugin,
H A Dio.c37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin,
63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin,
90 static snd_pcm_sframes_t io_src_channels(struct snd_pcm_plugin *plugin,
H A Dcopy.c27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin,
H A Droute.c47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/
H A Dpcm_plugin.c92 static snd_pcm_sframes_t
102 static snd_pcm_sframes_t
112 snd_pcm_sframes_t
122 snd_pcm_sframes_t
140 static int snd_pcm_plugin_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
143 snd_pcm_sframes_t sd;
199 static snd_pcm_sframes_t snd_pcm_plugin_rewindable(snd_pcm_t *pcm)
204 static snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
207 snd_pcm_sframes_t n = snd_pcm_mmap_hw_avail(pcm);
208 snd_pcm_sframes_t sframe
[all...]
H A Dpcm_generic.h130 int snd_pcm_generic_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp);
131 snd_pcm_sframes_t snd_pcm_generic_forwardable(snd_pcm_t *pcm);
132 snd_pcm_sframes_t snd_pcm_generic_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
133 snd_pcm_sframes_t snd_pcm_generic_rewindable(snd_pcm_t *pcm);
134 snd_pcm_sframes_t snd_pcm_generic_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
138 snd_pcm_sframes_t snd_pcm_generic_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
139 snd_pcm_sframes_t snd_pcm_generic_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);
140 snd_pcm_sframes_t snd_pcm_generic_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);
141 snd_pcm_sframes_t snd_pcm_generic_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);
142 snd_pcm_sframes_t snd_pcm_generic_mmap_commi
[all...]
H A Dpcm_generic.c182 int snd_pcm_generic_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
188 snd_pcm_sframes_t snd_pcm_generic_forwardable(snd_pcm_t *pcm)
194 snd_pcm_sframes_t snd_pcm_generic_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
200 snd_pcm_sframes_t snd_pcm_generic_rewindable(snd_pcm_t *pcm)
206 snd_pcm_sframes_t snd_pcm_generic_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
236 snd_pcm_sframes_t snd_pcm_generic_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
242 snd_pcm_sframes_t snd_pcm_generic_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size)
248 snd_pcm_sframes_t snd_pcm_generic_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size)
254 snd_pcm_sframes_t snd_pcm_generic_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size)
260 snd_pcm_sframes_t snd_pcm_generic_mmap_commi
[all...]
H A Dpcm_null.c105 static int snd_pcm_null_delay(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sframes_t *delayp)
170 static snd_pcm_sframes_t snd_pcm_null_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
185 static snd_pcm_sframes_t snd_pcm_null_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
205 static snd_pcm_sframes_t snd_pcm_null_xfer_areas(snd_pcm_t *pcm,
215 static snd_pcm_sframes_t snd_pcm_null_writei(snd_pcm_t *pcm, const void *buffer ATTRIBUTE_UNUSED, snd_pcm_uframes_t size)
220 static snd_pcm_sframes_t snd_pcm_null_writen(snd_pcm_t *pcm, void **bufs ATTRIBUTE_UNUSED, snd_pcm_uframes_t size)
225 static snd_pcm_sframes_t snd_pcm_null_readi(snd_pcm_t *pcm, void *buffer ATTRIBUTE_UNUSED, snd_pcm_uframes_t size)
230 static snd_pcm_sframes_t snd_pcm_null_readn(snd_pcm_t *pcm, void **bufs ATTRIBUTE_UNUSED, snd_pcm_uframes_t size)
235 static snd_pcm_sframes_t snd_pcm_null_mmap_commit(snd_pcm_t *pcm,
242 static snd_pcm_sframes_t snd_pcm_null_avail_updat
[all...]
H A Dpcm_mmap.c67 snd_pcm_sframes_t appl_ptr = *pcm->appl.ptr;
85 snd_pcm_sframes_t hw_ptr = *pcm->hw.ptr;
101 static snd_pcm_sframes_t snd_pcm_mmap_write_areas(snd_pcm_t *pcm,
116 snd_pcm_sframes_t result;
125 return xfer > 0 ? (snd_pcm_sframes_t)xfer : result;
130 return (snd_pcm_sframes_t)xfer;
133 static snd_pcm_sframes_t snd_pcm_mmap_read_areas(snd_pcm_t *pcm,
148 snd_pcm_sframes_t result;
157 return xfer > 0 ? (snd_pcm_sframes_t)xfer : result;
162 return (snd_pcm_sframes_t)xfe
[all...]
H A Dpcm_local.h158 int (*delay)(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp);
163 snd_pcm_sframes_t (*rewindable)(snd_pcm_t *pcm);
164 snd_pcm_sframes_t (*rewind)(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
165 snd_pcm_sframes_t (*forwardable)(snd_pcm_t *pcm);
166 snd_pcm_sframes_t (*forward)(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
167 snd_pcm_sframes_t (*writei)(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
168 snd_pcm_sframes_t (*writen)(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);
169 snd_pcm_sframes_t (*readi)(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);
170 snd_pcm_sframes_t (*readn)(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);
171 snd_pcm_sframes_t (*avail_updat
[all...]
H A Dpcm_share.c82 snd_pcm_sframes_t period_time;
83 snd_pcm_sframes_t buffer_time;
124 snd_pcm_sframes_t avail;
141 snd_pcm_sframes_t frames, safety_frames;
142 snd_pcm_sframes_t min_frames, max_frames;
207 snd_pcm_sframes_t hw_avail;
209 snd_pcm_sframes_t ready_missing;
231 snd_pcm_sframes_t slave_hw_avail = buffer_size - slave_avail;
232 snd_pcm_sframes_t safety_missing = slave_hw_avail - slave->safety_threshold;
234 snd_pcm_sframes_t er
[all...]
H A Dpcm_file.c352 snd_pcm_sframes_t err;
453 static snd_pcm_sframes_t snd_pcm_file_rewindable(snd_pcm_t *pcm)
456 snd_pcm_sframes_t res = snd_pcm_rewindable(pcm);
457 snd_pcm_sframes_t n = snd_pcm_bytes_to_frames(pcm, file->wbuf_used_bytes);
463 static snd_pcm_sframes_t snd_pcm_file_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
466 snd_pcm_sframes_t err;
481 static snd_pcm_sframes_t snd_pcm_file_forwardable(snd_pcm_t *pcm)
484 snd_pcm_sframes_t res = snd_pcm_forwardable(pcm);
485 snd_pcm_sframes_t n = snd_pcm_bytes_to_frames(pcm, file->wbuf_size_bytes - file->wbuf_used_bytes);
491 static snd_pcm_sframes_t snd_pcm_file_forwar
[all...]
H A Dpcm_mmap_emul.c254 static snd_pcm_sframes_t
263 static snd_pcm_sframes_t
273 static snd_pcm_sframes_t
279 snd_pcm_sframes_t size;
296 static snd_pcm_sframes_t
302 snd_pcm_sframes_t size;
316 static snd_pcm_sframes_t
331 static snd_pcm_sframes_t snd_pcm_mmap_emul_avail_update(snd_pcm_t *pcm)
335 snd_pcm_sframes_t avail;
H A Dpcm_dsnoop.c134 snd_pcm_sframes_t diff;
215 static int snd_pcm_dsnoop_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
336 static snd_pcm_sframes_t snd_pcm_dsnoop_rewindable(snd_pcm_t *pcm)
341 static snd_pcm_sframes_t snd_pcm_dsnoop_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
343 snd_pcm_sframes_t avail;
354 static snd_pcm_sframes_t snd_pcm_dsnoop_forwardable(snd_pcm_t *pcm)
359 static snd_pcm_sframes_t snd_pcm_dsnoop_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
361 snd_pcm_sframes_t avail;
372 static snd_pcm_sframes_t snd_pcm_dsnoop_writei(snd_pcm_t *pcm ATTRIBUTE_UNUSED, const void *buffer ATTRIBUTE_UNUSED, snd_pcm_uframes_t size ATTRIBUTE_UNUSED)
377 static snd_pcm_sframes_t snd_pcm_dsnoop_write
[all...]
H A Dpcm_plugin.h34 typedef snd_pcm_sframes_t (*snd_pcm_slave_xfer_areas_undo_func_t)
66 snd_pcm_sframes_t snd_pcm_plugin_undo_read_generic
73 snd_pcm_sframes_t snd_pcm_plugin_undo_write_generic
H A Dpcm_ioplug.c54 snd_pcm_sframes_t hw;
113 static int snd_pcm_ioplug_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
504 static snd_pcm_sframes_t snd_pcm_ioplug_rewindable(snd_pcm_t *pcm)
509 static snd_pcm_sframes_t snd_pcm_ioplug_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
515 static snd_pcm_sframes_t snd_pcm_ioplug_forwardable(snd_pcm_t *pcm)
520 static snd_pcm_sframes_t snd_pcm_ioplug_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
535 static snd_pcm_sframes_t ioplug_priv_transfer_areas(snd_pcm_t *pcm,
541 snd_pcm_sframes_t result;
554 static snd_pcm_sframes_t snd_pcm_ioplug_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
566 static snd_pcm_sframes_t snd_pcm_ioplug_write
[all...]
H A Dpcm_rate.c564 static inline snd_pcm_sframes_t snd_pcm_rate_move_applptr(snd_pcm_t *pcm, snd_pcm_sframes_t frames)
568 snd_pcm_sframes_t diff, ndiff;
579 if (diff < -(snd_pcm_sframes_t)(slave->boundary / 2)) {
581 } else if (diff > (snd_pcm_sframes_t)(slave->boundary / 2)) {
603 if (diff < -(snd_pcm_sframes_t)(slave->boundary / 2)) {
605 } else if (diff > (snd_pcm_sframes_t)(slave->boundary / 2)) {
643 static int snd_pcm_rate_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
692 static snd_pcm_sframes_t snd_pcm_rate_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
695 snd_pcm_sframes_t
[all...]
H A Dpcm_dshare.c164 snd_pcm_sframes_t diff;
252 static int snd_pcm_dshare_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
334 snd_pcm_sframes_t avail;
413 static snd_pcm_sframes_t snd_pcm_dshare_rewindable(snd_pcm_t *pcm)
418 static snd_pcm_sframes_t snd_pcm_dshare_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
420 snd_pcm_sframes_t avail;
431 static snd_pcm_sframes_t snd_pcm_dshare_forwardable(snd_pcm_t *pcm)
436 static snd_pcm_sframes_t snd_pcm_dshare_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
438 snd_pcm_sframes_t avail;
449 static snd_pcm_sframes_t snd_pcm_dshare_read
[all...]
H A Dpcm_hw.c82 static snd_pcm_sframes_t snd_pcm_hw_avail_update(snd_pcm_t *pcm);
508 static int snd_pcm_hw_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
537 snd_pcm_sframes_t delay;
634 static snd_pcm_sframes_t snd_pcm_hw_rewindable(snd_pcm_t *pcm)
639 static snd_pcm_sframes_t snd_pcm_hw_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
654 static snd_pcm_sframes_t snd_pcm_hw_forwardable(snd_pcm_t *pcm)
659 static snd_pcm_sframes_t snd_pcm_hw_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
674 snd_pcm_sframes_t avail;
756 static snd_pcm_sframes_t snd_pcm_hw_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
775 static snd_pcm_sframes_t snd_pcm_hw_write
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/include/
H A Dpcm_ioplug.h132 snd_pcm_sframes_t (*pointer)(snd_pcm_ioplug_t *io);
136 snd_pcm_sframes_t (*transfer)(snd_pcm_ioplug_t *io,
191 int (*delay)(snd_pcm_ioplug_t *io, snd_pcm_sframes_t *delayp);
H A Dpcm.h311 typedef long snd_pcm_sframes_t; typedef
458 int snd_pcm_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp);
461 snd_pcm_sframes_t snd_pcm_avail(snd_pcm_t *pcm);
462 snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm);
463 int snd_pcm_avail_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *availp, snd_pcm_sframes_t *delayp);
464 snd_pcm_sframes_t snd_pcm_rewindable(snd_pcm_t *pcm);
465 snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
466 snd_pcm_sframes_t snd_pcm_forwardable(snd_pcm_t *pcm);
467 snd_pcm_sframes_t snd_pcm_forwar
[all...]
H A Dpcm_extplug.h128 snd_pcm_sframes_t (*transfer)(snd_pcm_extplug_t *ext,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/test/
H A Dpcm_min.c17 snd_pcm_sframes_t frames;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/sound/
H A Dpcm-indirect.h53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr;
122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))

Completed in 254 milliseconds

123