MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / shift_transform_levels

Function shift_transform_levels

AudioEncode/aencode.cpp:931–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

929}
930
931void shift_transform_levels(Encoder &enc) {
932 int32_t levelCount = enc.m_someVal - 1;
933 for (int i = 0; i < enc.m_levels; ++i, levelCount += levelCount) {
934 float *pDst = enc.m_levelSlots[i] - levelCount;
935 float *pSrc = pDst + enc.m_samplesPerBlock;
936 memcpy(pDst, pSrc, levelCount * sizeof(float));
937 }
938}
939
940void ProcessBlock(Encoder &enc) {
941 transform_all(enc);

Callers 1

ProcessBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected