fmat_set_sample method

void fmat_set_sample(
  1. Pointer<fmat_t> s,
  2. double data,
  3. int channel,
  4. int position,
)

write sample value in a buffer

\param s vector to write to \param data value to write in s->dataposition \param channel channel to write to \param position sample position to write to

Implementation

void fmat_set_sample(
  ffi.Pointer<fmat_t> s,
  double data,
  int channel,
  int position,
) {
  return _fmat_set_sample(
    s,
    data,
    channel,
    position,
  );
}