为什么下面的粗体线会崩溃???有什么建议么?
static OSStatus AudioInputCallback(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList *ioData) {
AudioUnitRender(audioUnitIn, ioActionFlags, inTimeStamp,
inBusNumber, inNumberFrames, inputBufferList);
AudioSampleType is a signed short
**AudioSampleType (pointer)data = inputBufferList->mBuffers[0].mData;**