code: public Integer[] getSupportedSampleRates() {
  		IntPointer sampleRatesPointer = avCodec.supported_samplerates();
  
  		if (getType() != MediaType.AUDIO || sampleRatesPointer == null)
  			return null;
  
  		List<Integer> sampleRates = new ArrayList<Integer>();
  
  		int sampleRate;
  		int index = 0;
  		while ((sampleRate = sampleRatesPointer.get(index++)) != 0)
  			sampleRates.add(sampleRate);
  
  		// ascending order
  		Collections.sort(sampleRates);
  
  		return sampleRates.toArray(new Integer[0]);
  	}
docs: Get all supported sample rates by this {@code Codec}. If this {@code Codec}
  is not an audio codec, then {@code null} is returned. The sample rates are
  ordered in ascending order.
  
  @return all supported sample rates by this {@code Codec}.