OSDN Git Service

android/hal-audio: Handle audio preset from stream
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 15 Jan 2014 18:03:54 +0000 (19:03 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 16 Jan 2014 14:01:41 +0000 (16:01 +0200)
commit51ca1c6c923bcca2b66d60cffec72dfd2e442551
treef1067a91e8ce03f5cbfbdada7afe5172e8de4dfd
parent068c5e3f8158adc3a50517e9436371e5d465798a
android/hal-audio: Handle audio preset from stream

This patch adds handling of audio preset received after stream is
opened. Preset is used to initialize codec and then to set input
configuration so audio subsystem can write data in a format that
codec can handle later.
android/hal-audio.c