public java . util . Collection < AudioFormat . Type > getSupportedAudioFormats ( ) { java . util . List < AudioFormat . Type > retval = new java . util . LinkedList < AudioFormat . Type > ( ) ; int count = getNumSupportedAudioFormats ( ) ; for ( int i = 0 ; i < count ; i ++ ) { AudioFormat . Type fmt = getSupportedAudioFormat ( i ) ; if ( fmt != null && fmt != AudioFormat . Type . SAMPLE_FMT_NONE ) retval . add ( fmt ) ; } return retval ; }
Returns a list of supported audio sample formats this codec can encode audio in .