aubio_io_validate_channels method

int aubio_io_validate_channels(
  1. Pointer<char_t> kind,
  2. Pointer<char_t> path,
  3. int channels
)

validate number of channels

\param kind the object kind to report on \param path the object properties to report on \param channels the object properties to report on \return 0 if ok, non-zero if validation failed

Implementation

int aubio_io_validate_channels(
  ffi.Pointer<char_t> kind,
  ffi.Pointer<char_t> path,
  int channels,
) {
  return _aubio_io_validate_channels(
    kind,
    path,
    channels,
  );
}