desktop_audio_capture 0.0.2
desktop_audio_capture: ^0.0.2 copied to clipboard
Flutter plugin for capturing audio on desktop platforms (macOS, Linux, Windows). Supports microphone and system audio with streaming, decibel monitoring, and device management.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add desktop_audio_captureThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
desktop_audio_capture: ^0.0.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:desktop_audio_capture/audio_capture.dart';
import 'package:desktop_audio_capture/config/mic_audio_config.dart';
import 'package:desktop_audio_capture/config/system_adudio_config.dart';
import 'package:desktop_audio_capture/mic/mic_audio_capture.dart';
import 'package:desktop_audio_capture/model/audio_status.dart';
import 'package:desktop_audio_capture/model/decibel_data.dart';
import 'package:desktop_audio_capture/model/input_device_type.dart';
import 'package:desktop_audio_capture/system/system_audio_capture.dart';