摘要: My work on this topic has been staggering and long. I have finally gotten this to work however hacked it may be. Because of that I will list some warnings prior to posting the answer:There is still a clicking noise between buffersI get warnings due to the way I use my obj-c classes in the obj-c++ cl 阅读全文
posted @ 2012-08-28 10:15 泪啸 阅读(1172) 评论(0) 推荐(0)
摘要: OSStatus callback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) { AudioBufferList list; // redundant list.mNumberBuffers = 1; list.mBuffers[0].mData = sampleBuffer; list.mBuffers[0].mD 阅读全文
posted @ 2012-08-28 10:14 泪啸 阅读(1138) 评论(0) 推荐(0)
摘要: I’ve had nasty old time trying to get some audio stuff going on the iPhone, no thanks to Apple’s lack of documentation. If you’re an iPhone developer interested in getting RemoteIO/IO Remote/whatever it’s called working on the iPhone… Do I have good news for you. Read on.Wanna skip the Core Audio le 阅读全文
posted @ 2012-08-28 10:10 泪啸 阅读(1587) 评论(4) 推荐(0)