Merge "Clean up throws in AudioRecord and AudioTrack"