Commit Graph

3 Commits

Author SHA1 Message Date
Dhananjay Kumar 16ac9e5370 post_proc: fix noise at start of multichannel playback in hw_acc mode
BufferProvider in hw_accelerator module is intialized with Downmix
bufferProvider instead of track inputBufferProvider if Downmix module
is configured in AudioMixer, this results in improper mixbuffer data
for first threadloop_mix.
Hw_accelerator module is updated with track inputBufferProvider
correctly in next threadloop cycle when setBufferProvider is called
again, resulting in correct output for rest of the playback.
Fix this issue by using track inputBufferProvider as bufferProvider
of hw_accelerator module during initial configuration.

CRs-Fixed: 868620
Change-Id: Ia8b8ef472ff881d2de3b8094a8a48ce63a1a40cb
2015-07-22 16:31:04 +05:30
Alexy Joseph d464f3b875 post_proc: Support Headphone:X in offload and non tunnel modes
Support Headphone:X in offload and non tunnel modes

Change-Id: Ib30d60bce67cb43556d58a2387735ce715d035a4
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-08 19:29:20 -08:00
Subhash Chandra Bose Naripeddy e40a7cd4a7 post_proc: Add support for non-tunnel DSP audio effects
Add hw accelerator module to send PCM data to DSP and get
back the effects processed data.

Expose a wrapper library for AudioFlinger to be able use the new
module to apply the DSP audio effects.

Change-Id: I6ee30c11f04a97b35f12201fb61b8cd901921e68
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-08 19:24:58 -08:00