Home | History | Annotate | Download | only in itf

Lines Matching full:actual

229             unsigned actual = desired;
230 if (track->mAvail < actual) {
231 actual = track->mAvail;
233 // force actual to be a frame multiple
234 if (actual > 0) {
243 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
249 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
257 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
263 memcpy(dstWriter, track->mReader, actual);
268 dstWriter = (char *) dstWriter + actual;
269 desired -= actual;
270 track->mReader = (char *) track->mReader + actual;
271 track->mAvail -= actual;
308 track->mFramesMixed += actual >> 2; // sizeof(short) * STEREO_CHANNELS
311 // we need more data: desired > 0 but actual == 0
317 memset(dstWriter, 0, actual);