Lines Matching refs:frameLength
86 int frameLength = 256; member
615 const int frameLength = plvmConfigParams->frameLength; in lvmExecute() local
620 (LVM_UINT16)frameLength, /* Number of samples to read */ in lvmExecute()
636 const int frameLength = plvmConfigParams->frameLength; in lvmMainProcess() local
650 std::vector<short> in(frameLength * maxChannelCount); in lvmMainProcess()
651 std::vector<short> out(frameLength * maxChannelCount); in lvmMainProcess()
652 std::vector<float> floatIn(frameLength * channelCount); in lvmMainProcess()
653 std::vector<float> floatOut(frameLength * memAllocChCount); in lvmMainProcess()
656 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess()
659 sizeof(short), frameLength * ioFrameSize); in lvmMainProcess()
661 memcpy_to_float_from_i16(floatIn.data(), in.data(), frameLength * channelCount); in lvmMainProcess()
667 for (int i = 0; i < frameLength; ++i) { in lvmMainProcess()
681 memcpy(floatOut.data(), floatIn.data(), frameLength * frameSize); in lvmMainProcess()
683 memcpy_to_i16_from_float(out.data(), floatOut.data(), frameLength * channelCount); in lvmMainProcess()
686 sizeof(short), frameLength * channelCount * sizeof(short)); in lvmMainProcess()
688 (void) fwrite(out.data(), ioFrameSize, frameLength, fout); in lvmMainProcess()
689 frameCounter += frameLength; in lvmMainProcess()