HiRes: Check mixport samplerates

Samplerate will check the delta between mixport and content.
It will weigh higher the closer the delta between mixport
and content is. If content has higher samplerate than mixport
allows, the highest samplerate will be chosen.

Bug: 303085342
Test: atest AudioTrackTest
Change-Id: If6956bd8b1113e2f211f24071c43e888eae1cbb0
1 file changed