ma_duplex_rb_init function

ma_result ma_duplex_rb_init(
  1. ma_format captureFormat,
  2. Dartma_uint32 captureChannels,
  3. Dartma_uint32 sampleRate,
  4. Dartma_uint32 captureInternalSampleRate,
  5. Dartma_uint32 captureInternalPeriodSizeInFrames,
  6. Pointer<ma_allocation_callbacks> pAllocationCallbacks,
  7. Pointer<ma_duplex_rb> pRB,
)

Implementation

ma_result ma_duplex_rb_init(
  ma_format captureFormat,
  Dartma_uint32 captureChannels,
  Dartma_uint32 sampleRate,
  Dartma_uint32 captureInternalSampleRate,
  Dartma_uint32 captureInternalPeriodSizeInFrames,
  ffi.Pointer<ma_allocation_callbacks> pAllocationCallbacks,
  ffi.Pointer<ma_duplex_rb> pRB,
) => ma_result.fromValue(
  _ma_duplex_rb_init(
    captureFormat.value,
    captureChannels,
    sampleRate,
    captureInternalSampleRate,
    captureInternalPeriodSizeInFrames,
    pAllocationCallbacks,
    pRB,
  ),
);