vork/android_hardware_libhardware_legacy — pull request #1 by pastime1971 (2012-08-27 02:58:22+00:00)
Title: fix legacy audio

this fixes legacy audio (requires COMMON_GLOBAL_CFLAGS += -DICS_AUDIO_BLOB)

1. fix adev_open_*_stream calling convention
use ICS_AUDIO_BLOB

2. fix channel definition
legacy audio had a different definition for channel.
ICS didn't need to fix it before calling openOutputStream and openInputStream
JB needs to fix it because of audio policy change ?

TODO: is it possible to just fix channel convention and not depend on ICS_AUDIO_BLOB ?
TODO: volume is not being changed (needs fix)