Searched refs:frames1 (Results 1 – 6 of 6) sorted by relevance
/sound/core/oss/ |
D | rate.c | 199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; in rate_src_frames() local 200 while (data->old_src_frames < frames1) { in rate_src_frames() 201 frames1 >>= 1; in rate_src_frames() 204 while (data->old_src_frames > frames1) { in rate_src_frames() 205 frames1 <<= 1; in rate_src_frames() 208 if (data->old_src_frames == frames1) in rate_src_frames() 232 snd_pcm_sframes_t frames1 = frames, res1 = data->old_src_frames; in rate_dst_frames() local 233 while (data->old_dst_frames < frames1) { in rate_dst_frames() 234 frames1 >>= 1; in rate_dst_frames() 237 while (data->old_dst_frames > frames1) { in rate_dst_frames() [all …]
|
D | mulaw.c | 180 snd_pcm_uframes_t frames1; in mulaw_decode() local 192 frames1 = frames; in mulaw_decode() 193 while (frames1-- > 0) { in mulaw_decode() 226 snd_pcm_uframes_t frames1; in mulaw_encode() local 238 frames1 = frames; in mulaw_encode() 239 while (frames1-- > 0) { in mulaw_encode()
|
D | linear.c | 67 snd_pcm_uframes_t frames1; in convert() local 79 frames1 = frames; in convert() 80 while (frames1-- > 0) { in convert()
|
D | pcm_plugin.c | 598 snd_pcm_sframes_t frames1 = frames; in snd_pcm_plug_write_transfer() local 600 frames1 = plugin->dst_frames(plugin, frames); in snd_pcm_plug_write_transfer() 601 if (frames1 <= 0) in snd_pcm_plug_write_transfer() 602 return frames1; in snd_pcm_plug_write_transfer() 604 if ((err = next->client_channels(next, frames1, &dst_channels)) < 0) { in snd_pcm_plug_write_transfer() 607 if (err != frames1) { in snd_pcm_plug_write_transfer() 610 frames = plugin->src_frames(plugin, frames1); in snd_pcm_plug_write_transfer()
|
D | pcm_oss.c | 1387 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() local 1398 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2() 1399 if (frames1 < 0) in snd_pcm_oss_write2() 1400 return frames1; in snd_pcm_oss_write2() 1401 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); in snd_pcm_oss_write2() 1402 if (frames1 <= 0) in snd_pcm_oss_write2() 1403 return frames1; in snd_pcm_oss_write2() 1404 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_write2() 1409 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2() 1410 if (frames1 <= 0) in snd_pcm_oss_write2() [all …]
|
/sound/usb/misc/ |
D | ua101.c | 225 unsigned int frame_bytes, frames1; in copy_playback_data() local 235 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_playback_data() 236 memcpy(urb->transfer_buffer, source, frames1 * frame_bytes); in copy_playback_data() 237 memcpy(urb->transfer_buffer + frames1 * frame_bytes, in copy_playback_data() 238 runtime->dma_area, (frames - frames1) * frame_bytes); in copy_playback_data() 329 unsigned int frame_bytes, frames1; in copy_capture_data() local 339 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_capture_data() 340 memcpy(dest, urb->transfer_buffer, frames1 * frame_bytes); in copy_capture_data() 342 urb->transfer_buffer + frames1 * frame_bytes, in copy_capture_data() 343 (frames - frames1) * frame_bytes); in copy_capture_data()
|