generator_init method

int generator_init(
  1. Pointer<Generator> self,
  2. int sound_format,
  3. int channels,
  4. int sample_rate,
  5. double buffer_len_s,
)

Implementation

int generator_init(
  ffi.Pointer<Generator> self,
  int sound_format,
  int channels,
  int sample_rate,
  double buffer_len_s,
) {
  return _generator_init(
    self,
    sound_format,
    channels,
    sample_rate,
    buffer_len_s,
  );
}