aubio_source_validate_input_length method

int aubio_source_validate_input_length(
  1. Pointer<char_t> kind,
  2. Pointer<char_t> path,
  3. int hop_size,
  4. int read_data_length,
)

validate length of source output

\param kind the object kind to report on \param path the path to report on \param hop_size number of frames to be read \param read_data_length actual length of input

\return hop_size or the maximum number of frames that can be written

Implementation

int aubio_source_validate_input_length(
  ffi.Pointer<char_t> kind,
  ffi.Pointer<char_t> path,
  int hop_size,
  int read_data_length,
) {
  return _aubio_source_validate_input_length(
    kind,
    path,
    hop_size,
    read_data_length,
  );
}