Select the highest sampling rate if the requested is higher than default

Currently, when selecting output, the sample rate will only be
considered if the output sample rate is higher than the requested. In
this CL, the highest sampling rate will be selected if the requested
sampling rate is higher than default.

Bug: 232062000
Test: atest AudioTrackTest
Change-Id: I40391fe3c8f73ff28e519f5b187adb5717e45235
Merged-In: I40391fe3c8f73ff28e519f5b187adb5717e45235
(cherry picked from commit b12a6da58b69e13e9bc793e530cb055059bace78)
1 file changed