humble-video-noarch/src/main/java/io/humble/video/Codec.java
public java.util.Collection<Integer>
  getSupportedAudioSampleRates()
  {
    java.util.List<Integer> retval =
      new java.util.LinkedList<Integer>();
    int count = getNumSupportedAudioSampleRates();
    for(int i=0;i<count;i++)
    {
      int rate = getSupportedAudioSampleRate(i);
      if (rate != 0)
        retval.add(rate);
    }
    return retval;
  }
public java.util.Collection<Integer>
  getSupportedAudioSampleRates()
  {
    java.util.List<Integer> retval =
      new java.util.LinkedList<Integer>();
    int count = getNumSupportedAudioSampleRates();
    for(int i=0;i<count;i++)
    {
      int rate = getSupportedAudioSampleRate(i);
      if (rate != 0)
        retval.add(rate);
    }
    return retval;
  }
public java . util . Collection < Integer > getSupportedAudioSampleRates ( ) { java . util . List < Integer > retval = new java . util . LinkedList < Integer > ( ) ; int count = getNumSupportedAudioSampleRates ( ) ; for ( int i = 0 ; i < count ; i ++ ) { int rate = getSupportedAudioSampleRate ( i ) ; if ( rate != 0 ) retval . add ( rate ) ; } return retval ; }
Returns a list of supported audio sample rates this codec can encode
audio in.

<p>

Not all codecs support reporting this, in which case the returned list
will be empty.

</p>

@return a list
Returns a list of supported audio sample rates this codec can encode audio in .