← ClaudeAtlas

coreaudio-modernization-repair-workflowlisted

Guide legacy Core Audio and Audio Toolbox modernization and repair, including AudioUnit, AudioQueue, AudioConverter, AudioStreamBasicDescription, AudioComponentDescription, OSStatus diagnostics, callback lifetime, pointer ownership, Swift bridging, and migration decisions toward AVFAudio when appropriate. Use when fixing low-level Apple audio implementations or deciding whether to keep or replace legacy Core Audio code.
gaelic-ghost/socket · ★ 6 · AI & Automation · score 69
Install: claude install-skill gaelic-ghost/socket
# Core Audio Modernization Repair Workflow ## Purpose Guide low-level Core Audio and Audio Toolbox repair. This skill owns the legacy and escape-hatch boundary: when to keep C APIs, when to isolate them, when to migrate toward AVFAudio, and how to make old callback, pointer, buffer, format, and `OSStatus` code understandable and safer without erasing the Apple type boundary. It is not the default audio recommendation when AVFAudio covers the job. ## When To Use - Use this skill when code uses `AudioUnit`, `AudioQueue`, `AudioConverter`, `AudioComponentDescription`, `AudioStreamBasicDescription`, `AudioBufferList`, render callbacks, `OSStatus`, unsafe pointers, or archive-era Core Audio patterns. - Use this skill when existing code has opaque `OSStatus` failures, pointer lifetime bugs, callback crashes, hand-rolled format structs, unsafe Swift bridging, or low-level audio code that might be replaceable with AVAudioEngine or AVAudioSession. - Recommend `avaudio-engine-workflow` when the same job can be modeled as an AVAudioEngine graph or `AVAudioUnit` host. - Recommend `avfaudio-session-workflow` when the real issue is audio-session policy, route, permission, or interruption behavior. ## Single-Path Workflow 1. Classify the low-level audio request: - Audio Unit hosting or rendering - Audio Queue playback or recording - Audio Converter or format conversion - stream description or buffer layout - `OSStatus` diagnosis - callback, pointer, or lifetime repa