Skip to content

Installation

Add the dependency:

dependencies:
  audio_monitor: ^0.1.0

Install packages:

flutter pub get

Windows notes

The Windows backend controls the operating system native Listen to this device setting for capture endpoints.

It does not create a custom capture or playback pipeline.

If you are validating driver-specific behavior or investigating endpoint property differences, use the diagnostic utility documented in diagnostics.md.

Quick verification

final inputs = await AudioMonitor.getInputDevices();
final outputs = await AudioMonitor.getOutputDevices();

await AudioMonitor.enableNativeListen(
  inputDeviceId: inputs.first.id,
  outputDeviceId: outputs.first.id,
);

After enabling it, open Sound Control Panel and confirm the microphone Listen tab reflects the same state.