What is the difference between NB and WB entries in mixer_gains.xml?
The abbreviations here stand for narrowband (nb) and wideband (wb).

You can see the list of supported media formats, including the supports audio codecs here:
https://developer.android.com/guide/topics/media/media-formats

For example, the quite common AMR-NB codec.