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 .