• Home
  • Raw
  • Download

Lines Matching refs:frames

585 static long snd_pcm_oss_bytes(struct snd_pcm_substream *substream, long frames)  in snd_pcm_oss_bytes()  argument
589 long bytes = frames_to_bytes(runtime, frames); in snd_pcm_oss_bytes()
1024 snd_pcm_uframes_t frames; in snd_pcm_oss_change_params_locked() local
1025 frames = runtime->period_size + 16; in snd_pcm_oss_change_params_locked()
1026 if (frames > runtime->buffer_size) in snd_pcm_oss_change_params_locked()
1027 frames = runtime->buffer_size; in snd_pcm_oss_change_params_locked()
1028 sw_params->silence_threshold = frames; in snd_pcm_oss_change_params_locked()
1029 sw_params->silence_size = frames; in snd_pcm_oss_change_params_locked()
1205 snd_pcm_uframes_t frames; in snd_pcm_oss_capture_position_fixup() local
1217 frames = (*delay - runtime->buffer_size) + runtime->period_size - 1; in snd_pcm_oss_capture_position_fixup()
1218 frames /= runtime->period_size; in snd_pcm_oss_capture_position_fixup()
1219 frames *= runtime->period_size; in snd_pcm_oss_capture_position_fixup()
1220 err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_FORWARD, &frames); in snd_pcm_oss_capture_position_fixup()
1227 …ite3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel) in snd_pcm_oss_write3() argument
1246 frames, in_kernel); in snd_pcm_oss_write3()
1258 …_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel) in snd_pcm_oss_read3() argument
1285 frames, in_kernel); in snd_pcm_oss_read3()
1302 …s_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) in snd_pcm_oss_writev3() argument
1319 ret = snd_pcm_kernel_writev(substream, bufs, frames); in snd_pcm_oss_writev3()
1331 …es_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) in snd_pcm_oss_readv3() argument
1352 ret = snd_pcm_kernel_readv(substream, bufs, frames); in snd_pcm_oss_readv3()
1363 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() local
1373 frames = bytes / oss_frame_bytes; in snd_pcm_oss_write2()
1374 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2()
1384 frames = bytes_to_frames(runtime, bytes); in snd_pcm_oss_write2()
1385 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2()
1473 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() local
1481 frames = bytes / oss_frame_bytes; in snd_pcm_oss_read2()
1482 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); in snd_pcm_oss_read2()
1494 frames = bytes_to_frames(runtime, bytes); in snd_pcm_oss_read2()
1495 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel); in snd_pcm_oss_read2()