MCPcopy Create free account
hub / github.com/LabSound/LabSound / set_buf_pointers

Function set_buf_pointers

src/core/_SoundPipe_FFT.cpp:305–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305static void set_buf_pointers(sp_conv * p,
306 int nChannels, int partSize, int nPartitions)
307{
308 SPFLOAT * ptr;
309 int i;
310
311 ptr = (SPFLOAT *) (p->auxData.ptr);
312 p->tmpBuf = ptr;
313 ptr += (partSize << 1);
314 p->ringBuf = ptr;
315 ptr += ((partSize << 1) * nPartitions);
316 for (i = 0; i < nChannels; i++)
317 {
318 p->IR_Data[i] = ptr;
319 ptr += ((partSize << 1) * nPartitions);
320 }
321 for (i = 0; i < nChannels; i++)
322 {
323 p->outBuffers[i] = ptr;
324 ptr += (partSize << 1);
325 }
326}
327
328int sp_conv_create(sp_conv ** p)
329{

Callers 1

sp_conv_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected