aubio_source_validate_input_channels method

int aubio_source_validate_input_channels(
  1. Pointer<char_t> kind,
  2. Pointer<char_t> path,
  3. int source_channels,
  4. int read_data_height,
)

validate height of source output

\param kind the object kind to report on \param path the path to report on \param source_channels maximum number of channels that can be written \param read_data_height actual height of input

\return write_data_height or the maximum number of channels

Implementation

int aubio_source_validate_input_channels(
  ffi.Pointer<char_t> kind,
  ffi.Pointer<char_t> path,
  int source_channels,
  int read_data_height,
) {
  return _aubio_source_validate_input_channels(
    kind,
    path,
    source_channels,
    read_data_height,
  );
}