humble-video-noarch/src/main/java/io/humble/video/FilterGraph.java
public FilterAudioSource addAudioSource(String name, int sampleRate, AudioChannel.Layout channelLayout, AudioFormat.Type format, Rational timeBase) {
    long cPtr = VideoJNI.FilterGraph_addAudioSource(swigCPtr, this, name, sampleRate, channelLayout.swigValue(), format.swigValue(), Rational.getCPtr(timeBase), timeBase);
    return (cPtr == 0) ? null : new FilterAudioSource(cPtr, false);
  }
public FilterAudioSource addAudioSource(String name, int sampleRate, AudioChannel.Layout channelLayout, AudioFormat.Type format, Rational timeBase) {
    long cPtr = VideoJNI.FilterGraph_addAudioSource(swigCPtr, this, name, sampleRate, channelLayout.swigValue(), format.swigValue(), Rational.getCPtr(timeBase), timeBase);
    return (cPtr == 0) ? null : new FilterAudioSource(cPtr, false);
  }
public FilterAudioSource addAudioSource ( String name , int sampleRate , AudioChannel . Layout channelLayout , AudioFormat . Type format , Rational timeBase ) { long cPtr = VideoJNI . FilterGraph_addAudioSource ( swigCPtr , this , name , sampleRate , channelLayout . swigValue ( ) , format . swigValue ( ) , Rational . getCPtr ( timeBase ) , timeBase ) ; return ( cPtr == 0 ) ? null : new FilterAudioSource ( cPtr , false ) ; }
Add a FilterAudioSource.<br>
@param name the name; must be unique in graph<br>
@param timeBase timebase of frames that will be input. If null 1/sampleRate is assumed.<br>
@param sampleRate the audio sample rate<br>
<br>
@param format the sample format<br>
<br>
@return The FilterSource that was added.<br>
@throws RuntimeException if name is already in graph.<br>
@throws InvalidArgument if any argument is invalid.
Add a FilterAudioSource . <br >