Skip to content

Comment on Novocaine: painless high-performance audio on iOS and OS Xparent

Comments

You'd use Novocaine to grab the audio, and then you'd do the audio format conversion yourself. e.g.:

[[Novocaine audioManager] setInputBlock:^(float * inData, UInt32 numSamples, UInt32 numChannels) { for (int i=0; i < numSamples * numChannels; ++i) { dataForVoip[i] = YourType(inData[i]) * someScaling; } }];

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.