Overview of TinyAudio
mainTinyAudio is a cross-platform audio output library designed to provide unified, easy access to the default sound output device of an operating system. It is intended for users who need to play prepared audio samples with minimal complexity.
Key Capabilities
- Unified Access: Supports Windows, Linux, macOS, Android, iOS, and WebAssembly.
- Automatic Format Conversion: Accepts floating-point audio samples (
f32) and automatically converts them to the closest supported platform-dependent format. - Guaranteed Buffer Size: The crate guarantees that the intermediate data buffer will always match the requested size, which is useful for specific algorithms like HRTF.
Limitations
- No Format Loading: Does not load audio files (e.g., MP3, WAV).
- No DSP: Does not provide Digital Signal Processing, spatialization, or effects.
- No Device Management: Does not support device enumeration, selection, or querying supported formats.
- No Input: Does not support audio input capturing (e.g., microphones).