ma_pcm_rb_init function
ma_result
ma_pcm_rb_init(
- ma_format format,
- Dartma_uint32 channels,
- Dartma_uint32 bufferSizeInFrames,
- Pointer<
Void> pOptionalPreallocatedBuffer, - Pointer<
ma_allocation_callbacks> pAllocationCallbacks, - Pointer<
ma_pcm_rb> pRB,
Implementation
ma_result ma_pcm_rb_init(
ma_format format,
Dartma_uint32 channels,
Dartma_uint32 bufferSizeInFrames,
ffi.Pointer<ffi.Void> pOptionalPreallocatedBuffer,
ffi.Pointer<ma_allocation_callbacks> pAllocationCallbacks,
ffi.Pointer<ma_pcm_rb> pRB,
) => ma_result.fromValue(
_ma_pcm_rb_init(
format.value,
channels,
bufferSizeInFrames,
pOptionalPreallocatedBuffer,
pAllocationCallbacks,
pRB,
),
);