Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool feed(float x, Complex!float[] fftData)
- {
- void processSegment(float[] segment)
- {
- fftData.length = _fftSize; // we do need the delegate context here
- // do stuff with segment and fftData
- }
- // _analyzer.feed takes a void delegate(float[]) as parameter
- // will this line allocate
- return _analyzer.feed(x, &processSegment);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement