Lines Matching refs:frames1
1363 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_write2() local
1374 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2()
1375 if (frames1 < 0) in snd_pcm_oss_write2()
1376 return frames1; in snd_pcm_oss_write2()
1377 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); in snd_pcm_oss_write2()
1378 if (frames1 <= 0) in snd_pcm_oss_write2()
1379 return frames1; in snd_pcm_oss_write2()
1380 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_write2()
1385 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2()
1386 if (frames1 <= 0) in snd_pcm_oss_write2()
1387 return frames1; in snd_pcm_oss_write2()
1388 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2()
1473 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() local
1482 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); in snd_pcm_oss_read2()
1483 if (frames1 < 0) in snd_pcm_oss_read2()
1484 return frames1; in snd_pcm_oss_read2()
1485 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1); in snd_pcm_oss_read2()
1486 if (frames1 <= 0) in snd_pcm_oss_read2()
1487 return frames1; in snd_pcm_oss_read2()
1488 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_read2()
1495 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel); in snd_pcm_oss_read2()
1496 if (frames1 <= 0) in snd_pcm_oss_read2()
1497 return frames1; in snd_pcm_oss_read2()
1498 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()