Lines Matching refs:fr
1190 size_t fr = session->framesOut;
1191 if (outBuffer->frameCount < fr) {
1192 fr = outBuffer->frameCount;
1196 fr * session->outChannelCount * sizeof(int16_t));
1198 session->outBuf + fr * session->outChannelCount,
1199 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t));
1200 session->framesOut -= fr;
1201 framesWr += fr;
1210 size_t fr = session->frameCount - session->framesIn;
1211 if (inBuffer->frameCount < fr) {
1212 fr = inBuffer->frameCount;
1214 if (session->inBufSize < session->framesIn + fr) {
1215 session->inBufSize = session->framesIn + fr;
1221 fr * session->inChannelCount * sizeof(int16_t));
1226 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh);
1231 session->framesIn += fr;
1232 inBuffer->frameCount = fr;
1257 size_t fr = session->frameCount - session->framesIn;
1258 if (inBuffer->frameCount < fr) {
1259 fr = inBuffer->frameCount;
1263 fr * session->inChannelCount * sizeof(int16_t));
1269 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh);
1274 session->framesIn += fr;
1275 inBuffer->frameCount = fr;
1316 size_t fr = session->framesOut;
1317 if (framesRq - framesWr < fr) {
1318 fr = framesRq - framesWr;
1322 fr * session->outChannelCount * sizeof(int16_t));
1324 session->outBuf + fr * session->outChannelCount,
1325 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t));
1326 session->framesOut -= fr;
1327 outBuffer->frameCount += fr;
1739 size_t fr = session->frameCount - session->framesRev;
1740 if (inBuffer->frameCount < fr) {
1741 fr = inBuffer->frameCount;
1743 if (session->revBufSize < session->framesRev + fr) {
1744 session->revBufSize = session->framesRev + fr;
1750 fr * session->inChannelCount * sizeof(int16_t));
1752 session->framesRev += fr;
1753 inBuffer->frameCount = fr;
1778 size_t fr = session->frameCount - session->framesRev;
1779 if (inBuffer->frameCount < fr) {
1780 fr = inBuffer->frameCount;
1784 fr * session->inChannelCount * sizeof(int16_t));
1785 session->framesRev += fr;
1786 inBuffer->frameCount = fr;