ma_decoder_get_data_format function

ma_result ma_decoder_get_data_format(
  1. Pointer<ma_decoder> pDecoder,
  2. Pointer<ma_uint32> pFormat,
  3. Pointer<ma_uint32> pChannels,
  4. Pointer<ma_uint32> pSampleRate,
  5. Pointer<ma_uint8> pChannelMap,
  6. int channelMapCap,
)

Implementation

ma_result ma_decoder_get_data_format(
  ffi.Pointer<ma_decoder> pDecoder,
  ffi.Pointer<ffi.UnsignedInt> pFormat,
  ffi.Pointer<ma_uint32> pChannels,
  ffi.Pointer<ma_uint32> pSampleRate,
  ffi.Pointer<ma_channel> pChannelMap,
  int channelMapCap,
) => ma_result.fromValue(
  _ma_decoder_get_data_format(
    pDecoder,
    pFormat,
    pChannels,
    pSampleRate,
    pChannelMap,
    channelMapCap,
  ),
);