mp3 port can support MPEG-2 sampling rates.
Simple rate control logic based on sampling rate. Various fixes and tidy ups.