Lines Matching refs:frameLength
81 int frameLength = 256; member
468 const int frameLength = plvmConfigParams->frameLength; in lvmExecute() local
472 (LVM_UINT16)frameLength, /* Number of samples to read */ in lvmExecute()
485 const int frameLength = plvmConfigParams->frameLength; in lvmMainProcess() local
491 std::vector<short> in(frameLength * maxChannelCount); in lvmMainProcess()
492 std::vector<short> out(frameLength * maxChannelCount); in lvmMainProcess()
493 std::vector<float> floatIn(frameLength * channelCount); in lvmMainProcess()
494 std::vector<float> floatOut(frameLength * channelCount); in lvmMainProcess()
497 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess()
500 frameLength * ioFrameSize); in lvmMainProcess()
502 memcpy_to_float_from_i16(floatIn.data(), in.data(), frameLength * channelCount); in lvmMainProcess()
508 for (int i = 0; i < frameLength; ++i) { in lvmMainProcess()
522 memcpy(floatOut.data(), floatIn.data(), frameLength * frameSize); in lvmMainProcess()
524 memcpy_to_i16_from_float(out.data(), floatOut.data(), frameLength * channelCount); in lvmMainProcess()
527 frameLength * channelCount * sizeof(short)); in lvmMainProcess()
529 (void)fwrite(out.data(), ioFrameSize, frameLength, fout); in lvmMainProcess()
530 frameCounter += frameLength; in lvmMainProcess()