Add CBR and get rid of global variables for fdkaac