void Process_Audio() { if (blockSize != preBlockSize) { Array.Resize <float> (ref samples, blockSize); } if (mySource.isPlaying) { mySource.GetOutputData(samples, 0); dj_Process.processBlock(samples, channel); } preBlockSize = blockSize; }