次の太字の行がクラッシュするのはなぜですか??? 助言がありますか?
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;**