AVAudioEngine Workflow

•
7
•

Guides the design, implementation, and repair of Apple AVAudioEngine node graphs, format conversions, and real-time audio pipelines.

The AVAudioEngine Workflow skill guides developers in designing, connecting, and repairing Apple AVFAudio node graphs across iOS and macOS apps. It assists with AVAudioNode lifecycle ownership, player scheduling, audio taps, format conversions, manual rendering, offline processing, and AVAudioUnit hosting. Crucially, the skill enforces strict real-time audio callback safety rules—preventing allocations, locks, UI updates, and actor isolation mistakes inside rendering threads—while resolving common failure modes like unattached nodes and audio format mismatches.

主要功能

01Real-time audio callback safety auditing to avoid allocation, locking, and UI work
02AVAudioUnit hosting and Audio Unit component integration
03Audio node graph ownership, attachment, and connection validation
047 GitHub stars
05Format matching and conversion handling across AVAudioPCMBuffer and mixer nodes
06Manual rendering and offline audio processing pipeline configuration

使用场景

01Implementing custom real-time audio processing chains using AVAudioSourceNode or taps safely
02Diagnosing and fixing crashes caused by unattached nodes or format mismatches in audio graphs
03Migrating legacy audio rendering code to modern AVFAudio and manual rendering workflows