libaudio: update audio formats to new api

Change-Id: I6a7e370a079da88fd464c8e33ec3c5a372d896a9