humble-video-noarch/src/main/java/io/humble/video/MediaAudioResampler.java
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaAudioResampler_resample(swigCPtr, this, MediaSampled.getCPtr(out), out, MediaSampled.getCPtr(in), in);
  }
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaAudioResampler_resample(swigCPtr, this, MediaSampled.getCPtr(out), out, MediaSampled.getCPtr(in), in);
  }
public int resample ( MediaSampled out , MediaSampled in ) { return VideoJNI . MediaAudioResampler_resample ( swigCPtr , this , MediaSampled . getCPtr ( out ) , out , MediaSampled . getCPtr ( in ) , in ) ; }
Convert audio.<br>
<br>
in can be set to null to flush the last few samples out at the<br>
end.<br>
<br>
If more input is provided than output space then the input will be buffered.<br>
You can avoid this buffering by providing more output space than input.<br>
Conversion will run directly without copying whenever possible.<br>
<br>
@param out       output audio object. caller is responsible for making the correct size.<br>
@param in        input audio.<br>
<br>
@return number of samples output per channel.<br>
@throws RuntimeError if we get an error or InvalidArgument if the attributes of<br>
in or out do not match what this resampler expected.
Convert audio . <br > <br > in can be set to null to flush the last few samples out at the<br > end . <br > <br > If more input is provided than output space then the input will be buffered . <br > You can avoid this buffering by providing more output space than input . <br > Conversion will run directly without copying whenever possible . <br > <br >