Lines Matching refs:frames1
1264 snd_pcm_sframes_t frames, frames1;
1275 frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels);
1276 if (frames1 < 0)
1277 return frames1;
1278 frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1);
1279 if (frames1 <= 0)
1280 return frames1;
1281 bytes = frames1 * oss_frame_bytes;
1286 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel);
1287 if (frames1 <= 0)
1288 return frames1;
1289 bytes = frames_to_bytes(runtime, frames1);
1364 snd_pcm_sframes_t frames, frames1;
1373 frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels);
1374 if (frames1 < 0)
1375 return frames1;
1376 frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1);
1377 if (frames1 <= 0)
1378 return frames1;
1379 bytes = frames1 * oss_frame_bytes;
1386 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel);
1387 if (frames1 <= 0)
1388 return frames1;
1389 bytes = frames_to_bytes(runtime, frames1);