| /OK3568_Linux_fs/kernel/sound/core/oss/ |
| H A D | pcm_plugin.h | 47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); 48 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); 49 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin, 52 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin, 79 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 118 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle, 121 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle, 125 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle, 129 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, [all …]
|
| H A D | pcm_plugin.c | 117 if ((snd_pcm_sframes_t)frames <= 0) in snd_pcm_plug_alloc() 129 if ((snd_pcm_sframes_t)frames <= 0) in snd_pcm_plug_alloc() 141 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, in snd_pcm_plugin_client_channels() 202 static snd_pcm_sframes_t calc_dst_frames(struct snd_pcm_substream *plug, in calc_dst_frames() 203 snd_pcm_sframes_t frames, in calc_dst_frames() 224 static snd_pcm_sframes_t calc_src_frames(struct snd_pcm_substream *plug, in calc_src_frames() 225 snd_pcm_sframes_t frames, in calc_src_frames() 246 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_fr… in snd_pcm_plug_client_size() 261 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_fra… in snd_pcm_plug_slave_size() 556 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, in snd_pcm_plug_client_channels_buf() [all …]
|
| H A D | rate.c | 49 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) in rate_src_frames() 186 snd_pcm_sframes_t res; in rate_src_frames() 199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; in rate_src_frames() 216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_dst_frames() 219 snd_pcm_sframes_t res; in rate_dst_frames() 232 snd_pcm_sframes_t frames1 = frames, res1 = data->old_src_frames; in rate_dst_frames() 249 static snd_pcm_sframes_t rate_transfer(struct snd_pcm_plugin *plugin, in rate_transfer()
|
| H A D | io.c | 37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, in io_playback_transfer() 63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, in io_capture_transfer() 90 static snd_pcm_sframes_t io_src_channels(struct snd_pcm_plugin *plugin, in io_src_channels()
|
| H A D | pcm_oss.c | 1201 …t snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) in snd_pcm_oss_capture_position_fixup() 1212 if (*delay <= (snd_pcm_sframes_t)runtime->buffer_size) in snd_pcm_oss_capture_position_fixup() 1226 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_… in snd_pcm_oss_write3() 1257 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes… in snd_pcm_oss_read3() 1260 snd_pcm_sframes_t delay; in snd_pcm_oss_read3() 1301 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_ufr… in snd_pcm_oss_writev3() 1330 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_ufra… in snd_pcm_oss_readv3() 1362 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() 1466 return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; in snd_pcm_oss_write1() 1472 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() [all …]
|
| H A D | copy.c | 27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, in copy_transfer()
|
| H A D | route.c | 47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, in route_transfer()
|
| H A D | linear.c | 88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, in linear_transfer()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | pcm.h | 355 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */ 685 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() 705 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() 748 …snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_… in snd_pcm_playback_avail() 764 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail() 774 static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_hw_avail() 783 static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_hw_avail() 1074 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream, 1078 static inline snd_pcm_sframes_t 1085 static inline snd_pcm_sframes_t [all …]
|
| H A D | pcm-indirect.h | 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() 44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer() 109 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() 112 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
|
| H A D | soc-dai.h | 157 snd_pcm_sframes_t snd_soc_dai_delay(struct snd_soc_dai *dai, 281 snd_pcm_sframes_t (*delay)(struct snd_pcm_substream *,
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sound/ |
| H A D | asound.h | 157 typedef signed long snd_pcm_sframes_t; typedef 462 snd_pcm_sframes_t delay; /* current delay in frames */ 505 snd_pcm_sframes_t result; 511 snd_pcm_sframes_t result; 582 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sound/ |
| H A D | asound.h | 157 typedef signed long snd_pcm_sframes_t; typedef 462 snd_pcm_sframes_t delay; /* current delay in frames */ 505 snd_pcm_sframes_t result; 511 snd_pcm_sframes_t result; 582 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_native.c | 2901 static snd_pcm_sframes_t forward_appl_ptr(struct snd_pcm_substream *substream, in forward_appl_ptr() 2903 snd_pcm_sframes_t avail) in forward_appl_ptr() 2906 snd_pcm_sframes_t appl_ptr; in forward_appl_ptr() 2914 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in forward_appl_ptr() 2921 static snd_pcm_sframes_t rewind_appl_ptr(struct snd_pcm_substream *substream, in rewind_appl_ptr() 2923 snd_pcm_sframes_t avail) in rewind_appl_ptr() 2926 snd_pcm_sframes_t appl_ptr; in rewind_appl_ptr() 2945 static snd_pcm_sframes_t snd_pcm_rewind(struct snd_pcm_substream *substream, in snd_pcm_rewind() 2948 snd_pcm_sframes_t ret; in snd_pcm_rewind() 2962 static snd_pcm_sframes_t snd_pcm_forward(struct snd_pcm_substream *substream, in snd_pcm_forward() [all …]
|
| H A D | pcm_lib.c | 53 snd_pcm_sframes_t noise_dist, n; in snd_pcm_playback_silence() 68 if (noise_dist >= (snd_pcm_sframes_t) runtime->silence_threshold) in snd_pcm_playback_silence() 75 snd_pcm_sframes_t avail = snd_pcm_playback_hw_avail(runtime); in snd_pcm_playback_silence() 85 if ((snd_pcm_sframes_t)frames < 0) in snd_pcm_playback_silence() 88 if ((snd_pcm_sframes_t)runtime->silence_filled < 0) { in snd_pcm_playback_silence() 264 snd_pcm_sframes_t hdelta, delta; in snd_pcm_update_hw_ptr0() 349 snd_pcm_sframes_t xrun_threshold; in snd_pcm_update_hw_ptr0() 2117 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream, in __snd_pcm_lib_xfer() 2254 snd_pcm_playback_hw_avail(runtime) >= (snd_pcm_sframes_t)runtime->start_threshold) { in __snd_pcm_lib_xfer() 2265 return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; in __snd_pcm_lib_xfer()
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_dlp.c | 103 snd_pcm_sframes_t hw_ptr_delta; /* play-ptr - cap-ptr */ 173 snd_pcm_sframes_t size) in dlp_frames_to_bytes() 178 static inline snd_pcm_sframes_t dlp_bytes_to_frames(struct dmaengine_dlp_runtime_data *prtd, in dlp_bytes_to_frames() 621 snd_pcm_sframes_t delta = 0; in dmaengine_dlp_setup() 814 snd_pcm_sframes_t frames = dlp_bytes_to_frames(prtd, bytes); in process_capture() 815 snd_pcm_sframes_t frames_consumed = 0, frames_residue = 0, frames_tmp = 0; in process_capture() 816 snd_pcm_sframes_t ofs = 0; in process_capture()
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/sound/ |
| H A D | asound.h | 162 typedef signed long snd_pcm_sframes_t; typedef 483 snd_pcm_sframes_t delay; /* current delay in frames */ 602 snd_pcm_sframes_t result; 608 snd_pcm_sframes_t result; 679 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
|
| /OK3568_Linux_fs/kernel/include/uapi/sound/ |
| H A D | asound.h | 162 typedef signed long snd_pcm_sframes_t; typedef 483 snd_pcm_sframes_t delay; /* current delay in frames */ 602 snd_pcm_sframes_t result; 608 snd_pcm_sframes_t result; 679 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
|
| /OK3568_Linux_fs/buildroot/package/alsa-lib/ |
| H A D | 0002-add-dcbfilter-16bit-process.patch | 183 @@ -1646,7 +1808,12 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframe… 189 + snd_pcm_sframes_t tmp = _snd_pcm_readi(pcm, buffer, size);
|
| H A D | 0003-add-gain-for-audio-input.patch | 40 @@ -1813,6 +1831,7 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes…
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | u_uac1_legacy.c | 96 snd_pcm_sframes_t result; in playback_default_hw_params() 162 snd_pcm_sframes_t frames; in u_audio_playback()
|
| /OK3568_Linux_fs/buildroot/package/madplay/ |
| H A D | 0001-switch-to-new-alsa-api.patch | 46 -snd_pcm_sframes_t buffer_size; 47 -snd_pcm_sframes_t period_size;
|
| /OK3568_Linux_fs/kernel/sound/soc/sh/ |
| H A D | siu.h | 106 snd_pcm_sframes_t xfer_cnt; /* Number of frames */
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | alsa.c | 185 snd_pcm_sframes_t i, n; in read_() 266 snd_pcm_sframes_t actual; in write_()
|
| /OK3568_Linux_fs/kernel/sound/soc/samsung/ |
| H A D | s3c-i2s-v2.c | 526 static snd_pcm_sframes_t s3c2412_i2s_delay(struct snd_pcm_substream *substream, in s3c2412_i2s_delay() 531 snd_pcm_sframes_t delay; in s3c2412_i2s_delay()
|