bindings/miniaudio_dart library

Functions

crosscoder_create(int configPtr, int codecId, int application, int accumulate) int
crosscoder_decode_packet(int self, int packetPtr, int packetLen, int outFramesPtr, int maxFrames) int
crosscoder_destroy(int self) → void
crosscoder_encode_push_f32(int self, int framesPtr, int frameCount, int outPacketPtr, int outCap, int outBytesPtr) int
crosscoder_frame_size(int self) int
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 ptr, int frames) int
generator_get_pan(int self) double
generator_get_volume(int self) double
generator_init(int self, int format, int channels, int sampleRate, int bufferDurationSeconds) Future<int>
generator_set_noise(int self, int type, int seed, double amplitude) int
generator_set_pan(int self, double pan) → void
generator_set_pulsewave(int self, double frequency, double amplitude, double dutyCycle) int
generator_set_volume(int self, double volume) → 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 ptrOut, int framesOut) int
recorder_commit_read_frames(int self, int frames) → void
recorder_create() int
recorder_destroy(int self) → void
recorder_get_available_frames(int self) int
recorder_init(int self, int configPtr) Future<int>
recorder_is_recording(int self) int
recorder_start(int self) int
recorder_stop(int self) int
sound_alloc() int
sound_free(int self) → void
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 enabled, int delayMs) → void
sound_set_volume(int self, double volume) → 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_get_pan(int self) double
stream_player_get_volume(int self) double
stream_player_init_with_engine(int self, int engine, int configPtr) int
stream_player_push_encoded_packet(int self, int data, int bytes) int
stream_player_set_pan(int self, double pan) → void
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 data, int frames) int