bindings/miniaudio_dart library

Functions

engine_alloc() int
engine_free(int self) → void
engine_init(int self, int periodMs) Future<int>
engine_load_sound(int self, int sound, int data, int dataSize, int format, int sampleRate, int channels) int
engine_start(int self) int
engine_uninit(int self) → void
generator_create() int
generator_destroy(int self) → void
generator_get_available_frames(int self) int
generator_get_buffer(int self, int output, int frames_to_read) int
generator_get_volume(int self) double
generator_init(int self, int format, int channels, int sample_rate, int buffer_duration_seconds) Future<int>
generator_set_noise(int self, int type, int seed, double amplitude) int
generator_set_pulsewave(int self, double frequency, double amplitude, double dutyCycle) int
generator_set_volume(int self, double value) → void
generator_set_waveform(int self, int type, double frequency, double amplitude) int
generator_start(int self) int
generator_stop(int self) int
recorder_acquire_read_region(int self, int outPtrAddr, int outFramesAddr) int
recorder_commit_read_frames(int self, int frames) int
recorder_create() int
recorder_destroy(int self) → void
recorder_get_available_frames(int self) int
recorder_get_buffer(int self, int output, int floats_to_read) int
recorder_init_file(int self, String filename, {int sampleRate = 48000, int channels = 1, int format = AudioFormat.float32}) Future<int>
recorder_init_stream(int self, {int sampleRate = 48000, int channels = 1, int format = AudioFormat.float32, int bufferDurationSeconds = 5}) Future<int>
recorder_is_recording(int self) bool
recorder_start(int self) int
recorder_stop(int self) int
sound_alloc() int
sound_get_duration(int self) double
sound_get_volume(int self) double
sound_pause(int self) → void
sound_play(int self) int
sound_replay(int self) int
sound_set_looped(int self, bool value, int delay_ms) → void
sound_set_volume(int self, double value) → void
sound_stop(int self) → void
sound_unload(int self) → void
stream_player_alloc() int
stream_player_clear(int self) → void
stream_player_free(int self) → void
stream_player_init(int self, int engine, int format, int channels, int sampleRate, int bufferMs) int
stream_player_init_with_engine(int self, int engine, int format, int channels, int sampleRate, int bufferMs) int
stream_player_set_volume(int self, double volume) → void
stream_player_start(int self) int
stream_player_stop(int self) int
stream_player_uninit(int self) → void
stream_player_write_frames_f32(int self, int dataPtr, int frames) int