engine_load_sound function

int engine_load_sound(
  1. Pointer<Engine> self,
  2. Pointer<Sound> sound,
  3. Pointer<Float> data,
  4. int data_size,
  5. ma_format format,
  6. int sample_rate,
  7. int channels,
)

Implementation

int engine_load_sound(
  ffi.Pointer<Engine> self,
  ffi.Pointer<Sound> sound,
  ffi.Pointer<ffi.Float> data,
  int data_size,
  ma_format format,
  int sample_rate,
  int channels,
) =>
    _engine_load_sound(
      self,
      sound,
      data,
      data_size,
      format.value,
      sample_rate,
      channels,
    );