Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SuperpoweredOfflineAnalyzer* a = new SuperpoweredOfflineAnalyzer(decoder->samplerate, 0, decoder->durationSeconds);
- unsigned int decodedSamples = decoder->samplesPerFrame;
- while(decoder->decode(intBuffer, &decodedSamples) != SUPERPOWEREDDECODER_ERROR && decodedSamples > 0)
- {
- SuperpoweredShortIntToFloat(intBuffer, fBuffer, decodedSamples, 2);
- a->process(fBuffer, decodedSamples);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement