usbaudio: Fixing return value from out_write

-pcm_mmap_write() returns 0 for successful write and a negative
error number for errors
-out_write always returns a positive value
-fixed return value as per pcm_mmap_write() returned result

Change-Id: I6bbca5df9a1eb9ceae492a8cf5f478189cedbb12
CRs-Fixed: 564094
audio: Add WMA Format suppport for offload playback

Add WMA Format suppport for offload playback.

Change-Id: I35e69bd1a21ba54211bcd688d7bba115f969b98f
audio: add set_parameters for listen hal

Add listen hal specific set parameters function so that Listen
service can call Listen hal directly, by passing audio hal. This
is needed since set_parameters call in audio hal does not guarantee the
correct return value is returned for any parameters set.

Change-Id: I647b9e7f841c8157e4eb597655166ea863a00925
audio: Parameter to indicate ADTS compressed data

- Add a new offload parameter for ADTS compressed data.
This parameter will be used by usecases like widevine.

Change-Id: I526d119368810f486875a03834e221aabfaacc78
libhardware: Add audio power hint

Change-Id: I5b03cc060356da23b6941c5937ef217c70dbf6dd
libhardware: Define queriable attribute for max. WriteBack width

We define a new queriable attribute for the maximum width supported
by WriteBack.

Change-Id: I82a1fe6b10c5650a4a5358eab5c52d46bd5f19e3
Merge branch 'kk-4.4-caf' of https://github.com/TheSchismROM/android_hardware_libhardware into kk-4.4-caf