cvec_phas_get_sample method

double cvec_phas_get_sample(
  1. Pointer<cvec_t> s,
  2. int position
)

read phase value from a complex buffer

This is equivalent to: \code smpl_t foo = s->phasposition; \endcode

\param s vector to read from \param position sample position to read from \returns the value of the sample at position

Implementation

double cvec_phas_get_sample(
  ffi.Pointer<cvec_t> s,
  int position,
) {
  return _cvec_phas_get_sample(
    s,
    position,
  );
}