What problem does it solve? Working with Apple's Audio Toolbox APIs from Rust requires unsafe FFI bindings, manual AudioConverter lifecycle management, and deep knowledge of packet-based audio formats. This Skill provides the complete API reference and usage patterns for the shiguredo_audio_toolbox crate so you can encode and decode audio correctly on the first attempt. ## Core Features & Use Cases - AAC-LC Encoding: Convert interleaved i16 PCM into AAC-LC frames with configurable sample rate, channels, bitrate, bitrate control mode, and codec quality. - Multi-Codec Decoding: Decode AAC-LC, MP3, and Opus packets into fixed stereo 16-bit PCM output. - Codec Capability Query: Use supported_codecs() to inspect which codecs and bitrate control modes the current system supports. - Use Case: Build a macOS audio pipeline that captures microphone PCM, encodes it to AAC-LC at 128 kbps, and muxes it into an MP4 file with shiguredo_mp4, as demonstrated by the sine_to_mp4 example. ## Quick Start Ask the AI to write Rust code using shiguredo_audio_toolbox that encodes 48 kHz stereo PCM to AAC-LC at 128 kbps and then decodes the packets back to PCM.