ma_device_get_name function

ma_result ma_device_get_name(
  1. Pointer<ma_device> pDevice,
  2. ma_device_type type,
  3. Pointer<Char> pName,
  4. int nameCap,
  5. Pointer<Size> pLengthNotIncludingNullTerminator,
)

Implementation

ma_result ma_device_get_name(
  ffi.Pointer<ma_device> pDevice,
  ma_device_type type,
  ffi.Pointer<ffi.Char> pName,
  int nameCap,
  ffi.Pointer<ffi.Size> pLengthNotIncludingNullTerminator,
) => ma_result.fromValue(
  _ma_device_get_name(
    pDevice,
    type.value,
    pName,
    nameCap,
    pLengthNotIncludingNullTerminator,
  ),
);