ma_pcm_rb_init function

ma_result ma_pcm_rb_init(
  1. ma_format format,
  2. Dartma_uint32 channels,
  3. Dartma_uint32 bufferSizeInFrames,
  4. Pointer<Void> pOptionalPreallocatedBuffer,
  5. Pointer<ma_allocation_callbacks> pAllocationCallbacks,
  6. 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,
  ),
);