windows_audio 1.0.0 copy "windows_audio: ^1.0.0" to clipboard
windows_audio: ^1.0.0 copied to clipboard

PlatformWindows

A simple windows audio library

windows_audio #

A simple windows audio plugin for flutter

Implementation #

Add the flutter plugin to your pubspec.yaml file

dependencies:
  windows_audio: ^1.0.0

Firstly, import the flutter plugin

import "package:windows_audio/windows_audio.dart";

Then create an instance of the player

final Player = WindowsAudio();

Finally load the audio and play it

Player.load("assets/audio/filename");
Player.play();

Make sure that you have added the audio to the pubspec.yaml file

assets:
 - assets/audio/filename

This plugin supports wav, mp3 and ogg files.

2
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A simple windows audio library

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, plugin_platform_interface

More

Packages that depend on windows_audio