Commit Graph

5 Commits

Author SHA1 Message Date
Linux Build Service Account aa7e6f67b2 Merge "hal: add a new key to query for decoder viability" 2015-10-15 05:24:51 -07:00
Sidipotu Ashok 42483b6366 hal: add a new key to query for decoder viability
- Due to resource constraints some times a decoder playback cannot
be supported, for example HW decoders cannot be supported during
voice calls, this key can be queried to know about this.

- Bring in the this funtionality in HAL under the android prop
"voice.playback.conc.disabled"

Change-Id: Id6819b1b953c8ba9948c85218d98beb789f92631
CRs-Fixed: 902360
2015-09-25 10:44:29 +05:30
Chaithanya Krishna Bacharaju a70cb6a9e3 audio: hal: Add support to send codec specific data in gapless
Codec specific  metadata is sent only for first stream in gapless
playback.
This causes incorrect configuration to be set for second
stream and distortions are observed due to framedrops in adsp.
Add support to send codec specific format data of second stream
during gapless playback.

Use vorbis bitstream format info from metadata instead of hardcoding.
This avoids sending gapless metadata each time set parameters
is called during vorbis playback.

Set flag to send new metadata at start of session for first track
and for the next stream in gapless after return from partial drain.

Change-Id: I3d8be22a4e28c50335820cab1e2b924f3b3b2d1c
2015-09-22 23:34:39 -07:00
Satya Krishna Pindiproli 7047160e9a hal: add support to offload VORBIS, ALAC and APE formats
Send ALAC and APE specific data to DSP as part of the metadata
to support playback of ALAC and APE clips in offload mode.

Force vorbis offload run in transcoded bit stream mode.

Also move parsing of WMA and FLAC metadata to audio_extn.c
from audio_hw.c.

Change-Id: Ideccadff93d4c06e649cd535b8870e45ba26eaea
2015-05-12 15:52:03 +05:30
Mingming Yin 23c383c6aa hal: add extended audio definitions in hal
- Add audio_defs.h in hal for extended audio
  definitions.

Change-Id: I7d574a222d405d8c62d8b833d9ef413708f19639
2014-07-16 18:01:36 -07:00