Lines Matching refs:frames1
1371 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() local
1382 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2()
1383 if (frames1 < 0) in snd_pcm_oss_write2()
1384 return frames1; in snd_pcm_oss_write2()
1385 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); in snd_pcm_oss_write2()
1386 if (frames1 <= 0) in snd_pcm_oss_write2()
1387 return frames1; in snd_pcm_oss_write2()
1388 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_write2()
1393 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2()
1394 if (frames1 <= 0) in snd_pcm_oss_write2()
1395 return frames1; in snd_pcm_oss_write2()
1396 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2()
1481 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() local
1490 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); in snd_pcm_oss_read2()
1491 if (frames1 < 0) in snd_pcm_oss_read2()
1492 return frames1; in snd_pcm_oss_read2()
1493 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1); in snd_pcm_oss_read2()
1494 if (frames1 <= 0) in snd_pcm_oss_read2()
1495 return frames1; in snd_pcm_oss_read2()
1496 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_read2()
1503 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel); in snd_pcm_oss_read2()
1504 if (frames1 <= 0) in snd_pcm_oss_read2()
1505 return frames1; in snd_pcm_oss_read2()
1506 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()