audio: add JNI AudioAttribute helper class

-Factorize code between AudioRecord & AudioTrack
-Prevent memory leak

Test: Audio capture and playback smoke tests

Change-Id: I06a06cd607754fbbc3e74dd38a66994873c8d9d1
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
7 files changed