bindings/minisound_web_bindings
library
Functions
-
encoded_sound_data_get_is_looped(Pointer<EncodedSoundData> self)
→ bool
-
-
encoded_sound_data_set_looped(Pointer<EncodedSoundData> self, bool value, int delay_ms)
→ int
-
-
engine_alloc()
→ Pointer<Engine>
-
-
engine_generate_noise(Pointer<Engine> self, Pointer<Sound> sound, int type, int seed)
→ int
-
-
engine_generate_pulse(Pointer<Engine> self, Pointer<Sound> sound, double frequency, double duty_cycle)
→ int
-
-
engine_generate_waveform(Pointer<Engine> self, Pointer<Sound> sound, int type, double frequency)
→ int
-
-
engine_init(Pointer<Engine> self, int period_ms)
→ Future<int>
-
-
engine_load_sound(Pointer<Engine> self, Pointer<Sound> sound, Pointer<Uint8> data, int data_size)
→ int
-
-
engine_start(Pointer<Engine> self)
→ int
-
-
engine_uninit(Pointer<Engine> self)
→ void
-
-
noise_sound_data_set_seed(Pointer<NoiseSoundData> self, int value)
→ void
-
-
pulse_sound_data_set_duty_cycle(Pointer<PulseSoundData> self, double value)
→ void
-
-
pulse_sound_data_set_freq(Pointer<PulseSoundData> self, double value)
→ void
-
-
recorder_alloc()
→ Pointer<Recorder>
-
-
recorder_get_is_recording(Pointer<Recorder> self)
→ bool
-
-
recorder_init(Pointer<Recorder> self, int format, int channel_count, int sample_rate)
→ Future<int>
-
-
recorder_start(Pointer<Recorder> self, int encoding)
→ int
-
-
recorder_stop(Pointer<Recorder> self)
→ Recording
-
-
recorder_uninit(Pointer<Recorder> self)
→ void
-
-
sound_alloc()
→ Pointer<Sound>
-
-
sound_get_duration(Pointer<Sound> self)
→ double
-
-
sound_get_encoded_data(Pointer<Sound> self)
→ Pointer<EncodedSoundData>
-
-
sound_get_noise_data(Pointer<Sound> self)
→ Pointer<NoiseSoundData>
-
-
sound_get_pulse_data(Pointer<Sound> self)
→ Pointer<PulseSoundData>
-
-
sound_get_volume(Pointer<Sound> self)
→ double
-
-
sound_get_waveform_data(Pointer<Sound> self)
→ Pointer<WaveformSoundData>
-
-
sound_pause(Pointer<Sound> self)
→ void
-
-
sound_play(Pointer<Sound> self)
→ int
-
-
sound_set_volume(Pointer<Sound> self, double value)
→ void
-
-
sound_stop(Pointer<Sound> self)
→ void
-
-
sound_unload(Pointer<Sound> self)
→ void
-
-
waveform_sound_data_set_freq(Pointer<WaveformSoundData> self, double value)
→ void
-
-
waveform_sound_data_set_type(Pointer<WaveformSoundData> self, int value)
→ void
-