Use requested sample rate when it matches device sample rate. am: 5b5e0c4552 am: 0a68f6ce13

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/23437815

Change-Id: Ia0e5770ca9c3e206530eb2cf5f2c57d8f524ac89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>