audiopc is a Rust-powered Flutter audio plugin built using FFI and powered by the CPAL backend.
It provides low-level, high-performance audio playback and processing for Flutter applications.
Designed for developers who want more control over audio pipelines, audiopc supports decoding, streaming, and real-time audio processing directly inside the audio callback.
- 🎵 Play local audio files via native CPAL backend
- 🌐 Stream audio from direct internet URLs
- 🧩 Decode multiple formats using Symphonia
- 🎚️ Real-time processing (volume & low-pass filter)
- 🔊 Access and query active output device configuration
- ⚡ High-performance Rust core with Flutter FFI bridge
| Feature | Status |
|---|---|
| Local Playback | ✅ |
| URL Streaming | ✅ |
| Format Decoding | ✅ |
| Audio Processing | ✅ |
| Device Query | ✅ |
Add to your pubspec.yaml:
dependencies:
audiopc: ^0.1.0import 'package:audiopc/audiopc.dart';
final player = AudioPC();
await player.playUrl("https://example.com/audio.mp3");
// Adjust volume
player.setVolume(0.8);
// Apply low-pass filter
player.setLowPass(0.5);If you find this project useful, consider giving it a ⭐ on GitHub!