Lines Matching refs:frames1

1332 	snd_pcm_sframes_t frames, frames1;  in snd_pcm_oss_write2()  local
1343 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); in snd_pcm_oss_write2()
1344 if (frames1 < 0) in snd_pcm_oss_write2()
1345 return frames1; in snd_pcm_oss_write2()
1346 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); in snd_pcm_oss_write2()
1347 if (frames1 <= 0) in snd_pcm_oss_write2()
1348 return frames1; in snd_pcm_oss_write2()
1349 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_write2()
1354 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel); in snd_pcm_oss_write2()
1355 if (frames1 <= 0) in snd_pcm_oss_write2()
1356 return frames1; in snd_pcm_oss_write2()
1357 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2()
1432 snd_pcm_sframes_t frames, frames1; in snd_pcm_oss_read2() local
1441 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); in snd_pcm_oss_read2()
1442 if (frames1 < 0) in snd_pcm_oss_read2()
1443 return frames1; in snd_pcm_oss_read2()
1444 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1); in snd_pcm_oss_read2()
1445 if (frames1 <= 0) in snd_pcm_oss_read2()
1446 return frames1; in snd_pcm_oss_read2()
1447 bytes = frames1 * oss_frame_bytes; in snd_pcm_oss_read2()
1454 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel); in snd_pcm_oss_read2()
1455 if (frames1 <= 0) in snd_pcm_oss_read2()
1456 return frames1; in snd_pcm_oss_read2()
1457 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()