Lines Matching refs:frameLength
86 int frameLength = 256; member
619 const int frameLength = plvmConfigParams->frameLength; in lvmExecute() local
624 (LVM_UINT16)frameLength, /* Number of samples to read */ in lvmExecute()
640 const int frameLength = plvmConfigParams->frameLength; in lvmMainProcess() local
654 std::vector<short> in(frameLength * maxChannelCount); in lvmMainProcess()
655 std::vector<short> out(frameLength * maxChannelCount); in lvmMainProcess()
656 std::vector<float> floatIn(frameLength * channelCount); in lvmMainProcess()
657 std::vector<float> floatOut(frameLength * memAllocChCount); in lvmMainProcess()
660 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess()
663 sizeof(short), frameLength * ioFrameSize); in lvmMainProcess()
665 memcpy_to_float_from_i16(floatIn.data(), in.data(), frameLength * channelCount); in lvmMainProcess()
671 for (int i = 0; i < frameLength; ++i) { in lvmMainProcess()
685 memcpy(floatOut.data(), floatIn.data(), frameLength * frameSize); in lvmMainProcess()
687 memcpy_to_i16_from_float(out.data(), floatOut.data(), frameLength * channelCount); in lvmMainProcess()
690 sizeof(short), frameLength * channelCount * sizeof(short)); in lvmMainProcess()
692 (void) fwrite(out.data(), ioFrameSize, frameLength, fout); in lvmMainProcess()
693 frameCounter += frameLength; in lvmMainProcess()