I am considering the iPhone aurioTouch example specifically for the following code:
static OSStatus PerformThru( void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) { aurioTouchAppDelegate *THIS = (aurioTouchAppDelegate *)inRefCon; OSStatus err = AudioUnitRender(THIS->rioUnit, ioActionFlags, inTimeStamp, 1, inNumberFrames, ioData); if (err) { printf("PerformThru: error %d\n", (int)err); return err; }
in the aurioTouchAppDelegate.mm file.
Beginner question: what does the "Remove DC component" do? Any pointer to a training article about this is welcome.
Thanks in advance for your help.
iphone audio
pion
source share