fmat_get_sample method

double fmat_get_sample(
  1. Pointer<fmat_t> s,
  2. int channel,
  3. int position
)

read sample value in a buffer

\param s vector to read from \param channel channel to read from \param position sample position to read from

Implementation

double fmat_get_sample(
  ffi.Pointer<fmat_t> s,
  int channel,
  int position,
) {
  return _fmat_get_sample(
    s,
    channel,
    position,
  );
}