src/main/java/net/sourceforge/jaad/aac/sbr/FBT.java
public static int qmf_stop_channel(int bs_stop_freq, SampleFrequency sample_rate,
		int k0) {
		if(bs_stop_freq==15) {
			return Math.min(64, k0*3);
		}
		else if(bs_stop_freq==14) {
			return Math.min(64, k0*2);
		}
		else {

			int stopMin = stopMinTable[sample_rate.getIndex()];

			/* bs_stop_freq <= 13 */
			return Math.min(64, stopMin+STOP_OFFSET_TABLE[sample_rate.getIndex()][Math.min(bs_stop_freq, 13)]);
		}
	}
public static int qmf_stop_channel(int bs_stop_freq, SampleFrequency sample_rate,
		int k0) {
		if(bs_stop_freq==15) {
			return Math.min(64, k0*3);
		}
		else if(bs_stop_freq==14) {
			return Math.min(64, k0*2);
		}
		else {

			int stopMin = stopMinTable[sample_rate.getIndex()];

			/* bs_stop_freq <= 13 */
			return Math.min(64, stopMin+STOP_OFFSET_TABLE[sample_rate.getIndex()][Math.min(bs_stop_freq, 13)]);
		}
	}
public static int qmf_stop_channel ( int bs_stop_freq , SampleFrequency sample_rate , int k0 ) { if ( bs_stop_freq == 15 ) { return Math . min ( 64 , k0 * 3 ) ; } else if ( bs_stop_freq == 14 ) { return Math . min ( 64 , k0 * 2 ) ; } else { int stopMin = stopMinTable [ sample_rate . getIndex ( ) ] ; /* bs_stop_freq <= 13 */ return Math . min ( 64 , stopMin + STOP_OFFSET_TABLE [ sample_rate . getIndex ( ) ] [ Math . min ( bs_stop_freq , 13 ) ] ) ; } }
/* parameter is also called k2
/ * parameter is also called k2