Lines Matching refs:frames1
1360 snd_pcm_sframes_t frames, frames1;
1371 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels);
1372 if (frames1 < 0)
1373 return frames1;
1374 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1);
1375 if (frames1 <= 0)
1376 return frames1;
1377 bytes = frames1 * oss_frame_bytes;
1382 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel);
1383 if (frames1 <= 0)
1384 return frames1;
1385 bytes = frames_to_bytes(runtime, frames1);
1470 snd_pcm_sframes_t frames, frames1;
1479 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels);
1480 if (frames1 < 0)
1481 return frames1;
1482 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1);
1483 if (frames1 <= 0)
1484 return frames1;
1485 bytes = frames1 * oss_frame_bytes;
1492 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel);
1493 if (frames1 <= 0)
1494 return frames1;
1495 bytes = frames_to_bytes(runtime, frames1);