ailiaAudioGetResampleLen method

int ailiaAudioGetResampleLen(
  1. Pointer<Int> dst_sample_n,
  2. int dst_sample_rate,
  3. int src_sample_n,
  4. int src_sample_rate
)

~japanese @brief リサンプル後のサンプル数を計算します @param dst_sample_n リサンプル後サンプル数出力先ポインタ @param dst_sample_rate 変換後のサンプリングレート @param src_sample_n 入力データのサンプル数 @param src_sample_rate 入力データのサンプリングレート @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Get the number of samples after the resampling. @param dst_sample_n pointer to the destination where to write the output (the number of samples after resampling) @param dst_sample_rate sampling rate after the resampling @param src_sample_n number of samples in the input signal @param src_sample_rate sampling rate of the input signal @return In case of success, \ref AILIA_STATUS_SUCCESS , and else an error code is returned.

Implementation

int ailiaAudioGetResampleLen(
  ffi.Pointer<ffi.Int> dst_sample_n,
  int dst_sample_rate,
  int src_sample_n,
  int src_sample_rate,
) {
  return _ailiaAudioGetResampleLen(
    dst_sample_n,
    dst_sample_rate,
    src_sample_n,
    src_sample_rate,
  );
}