miniaudio_dart_ffi_bindings library

Classes

CaptureDeviceInfo
CircularBuffer
Engine
Generator
ma_allocation_callbacks
ma_atomic_bool32
ma_atomic_device_state
ma_atomic_float
ma_atomic_uint64
ma_atomic_vec3f
ma_audio_buffer
ma_audio_buffer_ref
ma_backend_callbacks
ma_biquad
ma_biquad_coefficient
Biquad Filtering
ma_channel_converter
ma_context
ma_context_command__wasapi
ma_context_config
ma_data_converter
ma_data_source_base
ma_data_source_vtable
ma_decoder
ma_decoding_backend_config
ma_decoding_backend_vtable
ma_default_vfs
ma_device
ma_device_config
ma_device_descriptor
ma_device_id
ma_device_info
ma_device_notification
ma_duplex_rb
ma_encoder
ma_encoder_config
ma_engine
ma_engine_node
ma_fader
ma_fader_config
ma_fence
ma_file_info
ma_gainer
ma_gainer_config
ma_IMMNotificationClient
ma_job
ma_job_queue
ma_linear_resampler
ma_linear_resampler_config
Resampling
ma_log
ma_log_callback
ma_lpf
ma_lpf1
ma_lpf2
ma_node_base
ma_node_graph
ma_node_input_bus
ma_node_output_bus
ma_node_vtable
ma_paged_audio_buffer
ma_paged_audio_buffer_data
ma_paged_audio_buffer_page
ma_panner
ma_pcm_rb
ma_rb
Ring Buffer
ma_resampler
ma_resampler_config
ma_resampling_backend_vtable
ma_resource_manager
ma_resource_manager_config
ma_resource_manager_data_buffer
ma_resource_manager_data_buffer_node
ma_resource_manager_data_source
ma_resource_manager_data_stream
ma_resource_manager_data_supply
ma_slot_allocator
ma_slot_allocator_group
ma_sound
ma_sound_inlined
ma_spatializer
ma_spatializer_listener
ma_spatializer_listener_config
ma_stack
ma_timer
ma_vec3f
ma_vfs_callbacks
PlaybackDeviceInfo
Recorder
SilenceDataSource
SilenceDataSourceConfig
Sound
StreamPlayer
UnnamedStruct1
UnnamedStruct10
UnnamedStruct11
UnnamedStruct12
UnnamedStruct13
UnnamedStruct14
UnnamedStruct15
UnnamedStruct16
UnnamedStruct17
UnnamedStruct18
UnnamedStruct19
UnnamedStruct2
UnnamedStruct20
UnnamedStruct21
UnnamedStruct22
UnnamedStruct23
UnnamedStruct24
UnnamedStruct25
UnnamedStruct26
UnnamedStruct27
UnnamedStruct28
UnnamedStruct29
UnnamedStruct3
UnnamedStruct30
UnnamedStruct31
UnnamedStruct32
UnnamedStruct33
UnnamedStruct34
UnnamedStruct35
UnnamedStruct36
UnnamedStruct37
UnnamedStruct38
UnnamedStruct39
UnnamedStruct4
UnnamedStruct40
UnnamedStruct41
UnnamedStruct42
UnnamedStruct43
UnnamedStruct44
UnnamedStruct45
UnnamedStruct46
UnnamedStruct47
UnnamedStruct48
UnnamedStruct49
UnnamedStruct5
UnnamedStruct50
UnnamedStruct51
UnnamedStruct52
UnnamedStruct53
UnnamedStruct54
UnnamedStruct55
UnnamedStruct56
UnnamedStruct6
UnnamedStruct7
UnnamedStruct8
UnnamedStruct9
UnnamedUnion1
UnnamedUnion10
UnnamedUnion11
UnnamedUnion12
UnnamedUnion13
UnnamedUnion14
UnnamedUnion15
UnnamedUnion16
UnnamedUnion17
UnnamedUnion18
UnnamedUnion19
UnnamedUnion2
UnnamedUnion20
UnnamedUnion3
UnnamedUnion4
UnnamedUnion5
UnnamedUnion6
UnnamedUnion7
UnnamedUnion8
UnnamedUnion9

Functions

circular_buffer_get_available_floats(Pointer<CircularBuffer> cb) int
circular_buffer_init(Pointer<CircularBuffer> cb, int size_in_bytes) int
circular_buffer_read(Pointer<CircularBuffer> cb, Pointer<Float> data, int size_in_floats) int
circular_buffer_read_available(Pointer<CircularBuffer> cb, Pointer<Float> data, int max_size_in_floats) int
circular_buffer_uninit(Pointer<CircularBuffer> cb) → void
circular_buffer_write(Pointer<CircularBuffer> cb, Pointer<Float> data, int size_in_floats) → void
engine_alloc() Pointer<Engine>
engine_free(Pointer<Engine> self) → void
engine_get_ma_engine(Pointer<Engine> self) Pointer<ma_engine>
engine_get_playback_device_count(Pointer<Engine> self) int
engine_get_playback_device_generation(Pointer<Engine> self) int
engine_get_playback_device_name(Pointer<Engine> self, int index, Pointer<Char> outName, int capName, Pointer<ma_bool32> pIsDefault) int
engine_init(Pointer<Engine> self, int period_ms) int
engine_load_sound(Pointer<Engine> self, Pointer<Sound> sound, Pointer<Float> data, int data_size, ma_format format, int sample_rate, int channels) int
engine_refresh_playback_devices(Pointer<Engine> self) int
engine_select_playback_device_by_index(Pointer<Engine> self, int index) int
engine_start(Pointer<Engine> self) int
engine_uninit(Pointer<Engine> self) → void
generator_create() Pointer<Generator>
generator_destroy(Pointer<Generator> generator) → void
generator_get_available_frames(Pointer<Generator> generator) int
generator_get_buffer(Pointer<Generator> generator, Pointer<Float> output, int floats_to_read) int
generator_get_volume(Pointer<Generator> self) double
generator_init(Pointer<Generator> generator, ma_format format, int channels, int sample_rate, int buffer_duration_seconds) GeneratorResult
generator_set_noise(Pointer<Generator> generator, ma_noise_type type, int seed, double amplitude) GeneratorResult
generator_set_pulsewave(Pointer<Generator> generator, double frequency, double amplitude, double dutyCycle) GeneratorResult
generator_set_volume(Pointer<Generator> self, double value) → void
generator_set_waveform(Pointer<Generator> generator, ma_waveform_type type, double frequency, double amplitude) GeneratorResult
generator_start(Pointer<Generator> generator) GeneratorResult
generator_stop(Pointer<Generator> generator) GeneratorResult
recorder_acquire_read_region(Pointer<Recorder> r, Pointer<UintPtr> outPtr, Pointer<Int> outFrames) int
recorder_commit_read_frames(Pointer<Recorder> r, int frames) int
recorder_create() Pointer<Recorder>
recorder_destroy(Pointer<Recorder> recorder) → void
recorder_free_capture_cache(Pointer<Recorder> r) → void
recorder_get_available_frames(Pointer<Recorder> recorder) int
recorder_get_available_frames_rb(Pointer<Recorder> recorder) int
recorder_get_buffer(Pointer<Recorder> recorder, Pointer<Float> output, int floats_to_read) int
recorder_get_capture_device_count(Pointer<Recorder> r) int
recorder_get_capture_device_generation(Pointer<Recorder> r) int
recorder_get_capture_device_name(Pointer<Recorder> r, int index, Pointer<Char> outName, int capName, Pointer<ma_bool32> pIsDefault) int
recorder_init_file(Pointer<Recorder> recorder, Pointer<Char> filename, int sample_rate, int channels, ma_format format) RecorderResult
recorder_init_stream(Pointer<Recorder> recorder, int sample_rate, int channels, ma_format format, int buffer_duration_seconds) RecorderResult
recorder_is_recording(Pointer<Recorder> recorder) bool
recorder_refresh_capture_devices(Pointer<Recorder> r) int
recorder_select_capture_device_by_index(Pointer<Recorder> r, int index) int
recorder_start(Pointer<Recorder> recorder) RecorderResult
recorder_stop(Pointer<Recorder> recorder) RecorderResult
silence_data_source_config(ma_format format, Dartma_uint32 channel_count, Dartma_uint32 sample_rate, Dartma_uint64 len_frames) SilenceDataSourceConfig
silence_data_source_init(Pointer<SilenceDataSource> self, Pointer<SilenceDataSourceConfig> config) int
silence_data_source_uninit(Pointer<SilenceDataSource> self) → void
sound_alloc() Pointer<Sound>
sound_free(Pointer<Sound> self) → void
sound_get_duration(Pointer<Sound> self) double
sound_get_is_looped(Pointer<Sound> self) bool
sound_get_volume(Pointer<Sound> self) double
sound_init(Pointer<Sound> self, Pointer<Float> data, int data_size, ma_format format, int channels, int sample_rate, Pointer<ma_engine> engine) int
sound_pause(Pointer<Sound> self) → void
sound_play(Pointer<Sound> self) int
sound_rebind_engine(Pointer<Sound> self, Pointer<ma_engine> newEngine) int
sound_replay(Pointer<Sound> self) int
sound_set_looped(Pointer<Sound> self, bool value, int delay_ms) → void
sound_set_volume(Pointer<Sound> self, double value) → void
sound_stop(Pointer<Sound> self) → void
sound_unload(Pointer<Sound> self) → void
stream_player_alloc() Pointer<StreamPlayer>
stream_player_clear(Pointer<StreamPlayer> self) → void
stream_player_free(Pointer<StreamPlayer> self) → void
stream_player_init(Pointer<StreamPlayer> self, Pointer<ma_engine> engine, ma_format format, int channels, int sample_rate, int buffer_ms) int
stream_player_init_with_engine(Pointer<StreamPlayer> self, Pointer<Engine> engine, ma_format format, int channels, int sample_rate, int buffer_ms) int
stream_player_set_volume(Pointer<StreamPlayer> self, double volume) → void
stream_player_start(Pointer<StreamPlayer> self) int
stream_player_stop(Pointer<StreamPlayer> self) int
stream_player_uninit(Pointer<StreamPlayer> self) → void
stream_player_write_frames_f32(Pointer<StreamPlayer> self, Pointer<Float> interleaved, int frames) int

Typedefs

Dartma_async_notification = void
Dartma_data_source = void
Dartma_decoder_read_procFunction = ma_result Function(Pointer<ma_decoder> pDecoder, Pointer<Void> pBufferOut, int bytesToRead, Pointer<Size> pBytesRead)
Dartma_decoder_seek_procFunction = ma_result Function(Pointer<ma_decoder> pDecoder, Dartma_int64 byteOffset, ma_seek_origin origin)
Dartma_decoder_tell_procFunction = ma_result Function(Pointer<ma_decoder> pDecoder, Pointer<ma_int64> pCursor)
Dartma_device_data_procFunction = void Function(Pointer<ma_device> pDevice, Pointer<Void> pOutput, Pointer<Void> pInput, Dartma_uint32 frameCount)
Dartma_device_notification_procFunction = void Function(Pointer<ma_device_notification> pNotification)
Dartma_encoder_init_procFunction = ma_result Function(Pointer<ma_encoder> pEncoder)
Dartma_encoder_seek_procFunction = ma_result Function(Pointer<ma_encoder> pEncoder, Dartma_int64 offset, ma_seek_origin origin)
Dartma_encoder_uninit_procFunction = void Function(Pointer<ma_encoder> pEncoder)
Dartma_encoder_write_pcm_frames_procFunction = ma_result Function(Pointer<ma_encoder> pEncoder, Pointer<Void> pFramesIn, Dartma_uint64 frameCount, Pointer<ma_uint64> pFramesWritten)
Dartma_encoder_write_procFunction = ma_result Function(Pointer<ma_encoder> pEncoder, Pointer<Void> pBufferIn, int bytesToWrite, Pointer<Size> pBytesWritten)
Dartma_engine_process_procFunction = void Function(Pointer<Void> pUserData, Pointer<Float> pFramesOut, Dartma_uint64 frameCount)
Dartma_enum_devices_callback_procFunction = Dartma_uint32 Function(Pointer<ma_context> pContext, ma_device_type deviceType, Pointer<ma_device_info> pInfo, Pointer<Void> pUserData)
Dartma_float = double
Dartma_int16 = int
Dartma_int32 = int
Dartma_int64 = int
Dartma_job_procFunction = ma_result Function(Pointer<ma_job> pJob)
Dartma_log_callback_procFunction = void Function(Pointer<Void> pUserData, Dartma_uint32 level, Pointer<Char> pMessage)
Dartma_node = void
Dartma_read_procFunction = ma_result Function(Pointer<Void> pUserData, Pointer<Void> pBufferOut, int bytesToRead, Pointer<Size> pBytesRead)
Dartma_resampling_backend = void
Dartma_seek_procFunction = ma_result Function(Pointer<Void> pUserData, Dartma_int64 offset, ma_seek_origin origin)
Dartma_sound_end_procFunction = void Function(Pointer<Void> pUserData, Pointer<ma_sound> pSound)
Dartma_stop_procFunction = void Function(Pointer<ma_device> pDevice)
Dartma_tell_procFunction = ma_result Function(Pointer<Void> pUserData, Pointer<ma_int64> pCursor)
Dartma_uint16 = int
Dartma_uint32 = int
Dartma_uint64 = int
Dartma_uint8 = int
Dartma_vfs = void
Dartma_wchar_win32 = int
ma_async_notification = Void
ma_bool32 = ma_uint32
ma_bool8 = ma_uint8
ma_channel = ma_uint8
ma_data_source = Void
Data Source
ma_data_source_get_next_proc = Pointer<NativeFunction<ma_data_source_get_next_procFunction>>
ma_data_source_get_next_procFunction = Pointer<ma_data_source> Function(Pointer<ma_data_source> pDataSource)
ma_decoder_read_proc = Pointer<NativeFunction<ma_decoder_read_procFunction>>
ma_decoder_read_procFunction = Int Function(Pointer<ma_decoder> pDecoder, Pointer<Void> pBufferOut, Size bytesToRead, Pointer<Size> pBytesRead)
ma_decoder_seek_proc = Pointer<NativeFunction<ma_decoder_seek_procFunction>>
ma_decoder_seek_procFunction = Int Function(Pointer<ma_decoder> pDecoder, ma_int64 byteOffset, UnsignedInt origin)
ma_decoder_tell_proc = Pointer<NativeFunction<ma_decoder_tell_procFunction>>
ma_decoder_tell_procFunction = Int Function(Pointer<ma_decoder> pDecoder, Pointer<ma_int64> pCursor)
ma_device_data_proc = Pointer<NativeFunction<ma_device_data_procFunction>>
ma_device_data_procFunction = Void Function(Pointer<ma_device> pDevice, Pointer<Void> pOutput, Pointer<Void> pInput, ma_uint32 frameCount)
ma_device_notification_proc = Pointer<NativeFunction<ma_device_notification_procFunction>>
ma_device_notification_procFunction = Void Function(Pointer<ma_device_notification> pNotification)
ma_encoder_init_proc = Pointer<NativeFunction<ma_encoder_init_procFunction>>
ma_encoder_init_procFunction = Int Function(Pointer<ma_encoder> pEncoder)
ma_encoder_seek_proc = Pointer<NativeFunction<ma_encoder_seek_procFunction>>
ma_encoder_seek_procFunction = Int Function(Pointer<ma_encoder> pEncoder, ma_int64 offset, UnsignedInt origin)
ma_encoder_uninit_proc = Pointer<NativeFunction<ma_encoder_uninit_procFunction>>
ma_encoder_uninit_procFunction = Void Function(Pointer<ma_encoder> pEncoder)
ma_encoder_write_pcm_frames_proc = Pointer<NativeFunction<ma_encoder_write_pcm_frames_procFunction>>
ma_encoder_write_pcm_frames_procFunction = Int Function(Pointer<ma_encoder> pEncoder, Pointer<Void> pFramesIn, ma_uint64 frameCount, Pointer<ma_uint64> pFramesWritten)
ma_encoder_write_proc = Pointer<NativeFunction<ma_encoder_write_procFunction>>
ma_encoder_write_procFunction = Int Function(Pointer<ma_encoder> pEncoder, Pointer<Void> pBufferIn, Size bytesToWrite, Pointer<Size> pBytesWritten)
ma_engine_process_proc = Pointer<NativeFunction<ma_engine_process_procFunction>>
ma_engine_process_procFunction = Void Function(Pointer<Void> pUserData, Pointer<Float> pFramesOut, ma_uint64 frameCount)
ma_enum_devices_callback_proc = Pointer<NativeFunction<ma_enum_devices_callback_procFunction>>
ma_enum_devices_callback_procFunction = ma_bool32 Function(Pointer<ma_context> pContext, UnsignedInt deviceType, Pointer<ma_device_info> pInfo, Pointer<Void> pUserData)
ma_event = ma_handle
ma_float = Float
ma_handle = Pointer<Void>
ma_int16 = Short
ma_int32 = Int
ma_int64 = LongLong
ma_job_proc = Pointer<NativeFunction<ma_job_procFunction>>
ma_job_procFunction = Int Function(Pointer<ma_job> pJob)
ma_log_callback_proc = Pointer<NativeFunction<ma_log_callback_procFunction>>
ma_log_callback_procFunction = Void Function(Pointer<Void> pUserData, ma_uint32 level, Pointer<Char> pMessage)
ma_mutex = ma_handle
ma_node = Void
ma_proc = Pointer<Void>
ma_ptr = Pointer<Void>
ma_read_proc = Pointer<NativeFunction<ma_read_procFunction>>
ma_read_procFunction = Int Function(Pointer<Void> pUserData, Pointer<Void> pBufferOut, Size bytesToRead, Pointer<Size> pBytesRead)
ma_resampling_backend = Void
ma_seek_proc = Pointer<NativeFunction<ma_seek_procFunction>>
ma_seek_procFunction = Int Function(Pointer<Void> pUserData, ma_int64 offset, UnsignedInt origin)
ma_semaphore = ma_handle
ma_sound_end_proc = Pointer<NativeFunction<ma_sound_end_procFunction>>
ma_sound_end_procFunction = Void Function(Pointer<Void> pUserData, Pointer<ma_sound> pSound)
ma_spinlock = ma_uint32
ma_stop_proc = Pointer<NativeFunction<ma_stop_procFunction>>
ma_stop_procFunction = Void Function(Pointer<ma_device> pDevice)
ma_tell_proc = Pointer<NativeFunction<ma_tell_procFunction>>
ma_tell_procFunction = Int Function(Pointer<Void> pUserData, Pointer<ma_int64> pCursor)
ma_thread = ma_handle
ma_uint16 = UnsignedShort
ma_uint32 = UnsignedInt
ma_uint64 = UnsignedLongLong
ma_uint8 = UnsignedChar
ma_uintptr = ma_uint64
ma_vfs = Void
VFS
ma_vfs_file = ma_handle
ma_wchar_win32 = WChar