Allow configuration of internal sample rate (required for HD audio codecs)
Add support for G.722