soundplayer 0.0.1 copy "soundplayer: ^0.0.1" to clipboard
soundplayer: ^0.0.1 copied to clipboard

PlatformAndroid

A minimal implementation of androids SoundPool for flutter

soundplayer #

A low-latency soundplayer implemented using android's soundpool

Features #

Dart interface to a wrapper of android soundpool.
Functions include: initSoundplayer, load, loadMultiple, play, playMultiple, unload, stop, pause

You must call initSoundplayer before doing anything else. Once initialized the parameters and returns are the same as andriod's version.

To load a file simply add to your flutter assets and call load as you normally would with any other flutter file var soundId = _soundplayerPlugin.load("lib/assets/c4.wav");

Playing the Audio is achieved by var streamId = _soundplayerPlugin.load(soundId);

0
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

A minimal implementation of androids SoundPool for flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on soundplayer

Packages that implement soundplayer