stream_player_init_with_engine function

int stream_player_init_with_engine(
  1. Pointer<StreamPlayer> self,
  2. Pointer<Engine> engine,
  3. ma_format format,
  4. int channels,
  5. int sample_rate,
  6. int buffer_ms,
)

Implementation

int stream_player_init_with_engine(
  ffi.Pointer<StreamPlayer> self,
  ffi.Pointer<Engine> engine,
  ma_format format,
  int channels,
  int sample_rate,
  int buffer_ms,
) =>
    _stream_player_init_with_engine(
      self,
      engine,
      format.value,
      channels,
      sample_rate,
      buffer_ms,
    );