Skip to content
pubscout

win32audio

1.5.0, released 11 months ago by an unverified publisher

Windows plugin to manage audio devices, master and app volumes, and extract native icons.

WASM-ready
$ flutter pub add win32audio
Source repository

What it does

Fetches input and output audio devices on Windows, manages master and specific application volumes, sets default devices, and extracts native icons from executables or windows. It also provides listeners for audio device changes.

AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter desktop application for Windows that needs advanced audio device management.
  • You need to control individual application volumes on Windows.
  • You need to extract native Windows icons from files or handles.

Skip it when

  • You are building for platforms other than Windows.
  • You only need standard cross-platform media playback.

Strengths

  • Provides granular control over Windows audio devices and mixer volumes.
  • Includes change listeners for audio device state and property updates.
  • Offers native icon extraction utilities.

Weaknesses

  • Limited strictly to the Windows platform.
  • Can trigger platform channel thread-related warning messages on native callbacks.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Requires Windows platform. No special manual native setup required beyond standard Flutter plugin integration.

var audioDevices = await Audio.enumDevices(audioDeviceType) ?? [];
final volume = await Audio.getVolume(audioDeviceType);
await Audio.setVolume(0.5, audioDeviceType);

Alternatives

Packages that do the same job and could replace win32audio.

Works with

Packages commonly used together with win32audio: ones it builds on, ones built on it, and its own family.