Lines Matching refs:frames1
1338 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() local
1349 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2()
1350 if (frames1 < 0) in snd_pcm_oss_write2()
1351 return frames1; in snd_pcm_oss_write2()
1352 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); in snd_pcm_oss_write2()
1353 if (frames1 <= 0) in snd_pcm_oss_write2()
1354 return frames1; in snd_pcm_oss_write2()
1355 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_write2()
1360 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2()
1361 if (frames1 <= 0) in snd_pcm_oss_write2()
1362 return frames1; in snd_pcm_oss_write2()
1363 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2()
1448 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() local
1457 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); in snd_pcm_oss_read2()
1458 if (frames1 < 0) in snd_pcm_oss_read2()
1459 return frames1; in snd_pcm_oss_read2()
1460 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1); in snd_pcm_oss_read2()
1461 if (frames1 <= 0) in snd_pcm_oss_read2()
1462 return frames1; in snd_pcm_oss_read2()
1463 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_read2()
1470 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel); in snd_pcm_oss_read2()
1471 if (frames1 <= 0) in snd_pcm_oss_read2()
1472 return frames1; in snd_pcm_oss_read2()
1473 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()