iOS的音频框架:Amazing Audio Engine
jopen
12年前
Amazing Audio Engine 构建在高效率和低延时的Core Audio Remote IO系统之上。该框架支持非常多的音频格式和比特率,同时提供音频输入、录制和监控功能。
AEBlockFilter *filter = [AEBlockFilter filterWithBlock: ^(AEAudioControllerFilterProducer producer, void *producerToken, const AudioTimeStamp *time, UInt32 frames, AudioBufferList *audio) { // Pull audio OSStatus status = producer(producerToken, audio, &frames); if ( status != noErr ) return; // Now filter audio in 'audio' }]; [_audioController addFilter:filter toChannel:track1];