Flutter Audio Output
Flutter Audio Output is an open-source Flutter plugin for controlling where an app's audio comes out. It answers three questions: which device is playing right now, what other devices are available, and how to switch between them.
It covers the speaker, the earpiece, wired headphones and Bluetooth. When the active device changes, the plugin tells the app, so the screen can update the moment someone plugs in a headset or connects a speaker.
On Android it asks the system for the device list, falling back to an older API on very old phones. On iOS it uses the shared audio session. Both platforms return the same simple types, so app code does not have to branch by platform.
It is published on pub.dev and free to use under the MIT licence.
Category
Flutter Plugin
Role
Lead Engineer
Timeline
2022 - Present
Tech
Flutter, Dart, Android, iOS, Platform Channels