¡@

Home 

2014/10/15 ¤U¤È 10:11:48

iphone Programming Glossary: mysoundstream

AudioUnits causing universal skipping after returning from Springboard

http://stackoverflow.com/questions/6130443/audiounits-causing-universal-skipping-after-returning-from-springboard

the app The Audio from the AvAudioPlayer will start skipping Here is some of the code I used IBAction restartAudioUnit MySoundStream audioUnitClass audioUnitClass Load audioUnitClass release audioUnitClass Load Forgive the long code dump but AudioUnits.. dump but AudioUnits are complex and I am fairly sure I am just setting them up or taking them down incorrectly. The MySoundStream class OSStatus UnitRenderCB void pRefCon AudioUnitRenderActionFlags flags const AudioTimeStamp timeStamp UInt32 busNum UInt32.. UInt32 busNum UInt32 numFrames AudioBufferList pData OSStatus tErr noErr Do Nothing return tErr @implementation MySoundStream void dealloc self Unload super dealloc void Unload OSStatus tErr noErr tErr AudioUnitUninitialize OutUnit @end MySoundStream..