switch to new audioencoder API
cleanup the iteration a bit to prep for non-2ch/16bit
fix settings (enums are integers)
adds android/osx library names
reorder linkage of libs so that static linkage finds all the symbols we want