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