History log of /hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b34af7c1924216ca4c452147802d2b81ea369002 15-Dec-2017 Kevin Rocard <krocard@google.com> Audio V4: Make test helper version independent

Bug: 38184704
Test: compile
Change-Id: Ia9ec81ccbad1d7411fdc570ae6dd728dd1520065
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
6891d7ec28761db85c8d4c486fe105ee64a2bd04 15-Dec-2017 Kevin Rocard <krocard@google.com> Audio V4: Make common helper version independent

The implementation uses the version provided by macro.

Bug: 38184704
Test: compile
Change-Id: Ib5565bdf77ed9e42fc8271a4317eb88681aefcd5
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
649142becc2e03ba09490cad133740cc1271ed84 14-Dec-2017 Kevin Rocard <krocard@google.com> Audio V4: Move common files before refactor

This will make diff much more clear and allow git to follow the files.

Bug: 38184704
Test: compile
Change-Id: I41ccb41c334aa56d3935be333e6227dd99773766
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
dc874e08c6fec8529d354ee31c1367a27aa66a2a 15-Dec-2017 Kevin Rocard <krocard@google.com> Audio V4: Fix issues in common raised by clang-format

This patch only contains cosmetic reformatting imposed by clang-format.

Bug: 38184704
Test: compile
Change-Id: I2f8c74d1b976e1e4e74f85dd0e8350f9b16fb31a
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
9236036285005cd048d5fc62ca6326d8e00e3077 07-Apr-2017 vivek mehta <mvivek@codeaurora.org> audiohal: init and send all offloadinfo related element

- init all offloadInfo element in audioOffloadInfoFromHal

Bug: 37158321
Test: make
Change-Id: I59d2f6dcd63f95a44465ee8ce8767351fae80521
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
685f0e36a1185b24f473f0382ba2175685dbcdf9 17-Dec-2016 Mikhail Naganov <mnaganov@google.com> Fix offload tracks playback

Translation between audio_offload_info_t and AudioOffloadInfo
was missing a field. This was causing compressed tracks to play
using 'deep_buffer' mode instead of 'offload'.

Changing output stream async callback methods to 'oneway',
since they don't require anything from the callee.

Change-Id: I27fe7fb715e421f102db21a10d34e1dc3134cf01
Test: play MP3 file with Play Music, check audioflinger dump
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
c29205662a2e2f11962ddabeb5b2dc5e36312682 22-Nov-2016 Mikhail Naganov <mnaganov@google.com> Audio HAL: extensions for new SoC features

Extended audio offload structure: added support to add bit_width,
offload buffer size and usage info.

Add support for direct PCM audio stream. Direct PCM stream
is used when pcm data required post processing in DSP. Direct PCM
stream is used for both track offload and PCM offload.

Add audio proxy source device.

Add support for additional audio formats: EVRC, QCELP, WMA, WMA,
AAC_ADIF, AMR, MP2, FLAC, ALAC, APE, DSD, LDAC.

Extend audio channel mask.

Test: make
Change-Id: I02d2f1fff6fa467688c1bad158ae18b5fa8c0f5b
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp
6e81e9bb3c13d8c51fde503cf8be2bfb56e1ca1d 17-Nov-2016 Mikhail Naganov <mnaganov@google.com> Audio HAL: fixes for issues discovered after client conversion

Several issues addressed:

-- added IDevice.supportsAudioPatches to query whether
create/removeAudioPatch is actually supported by HAL;

-- IStreamOutCallback proxy needs to be owned by IStreamOut
implementation. In order for the client to reset the reference,
added method IStreamOut.clearCallback;

-- IDevice.open{Input|Output}Stream need to return a "suggested" audio
config from HAL;

-- code for converting between system/audio.h and HIDL
data structures has been moved to
android.hardware.audio.common@2.0-util library for reuse;

-- added a workaround for the issue with QC effects HAL trying to write
into the input parameters buffer, which is r/o by Binder design.

Bug: 30222631
Change-Id: I64af24d79c12d6ac3b0f87d085a821913e29237b
Test: tried using with WIP HIDL client on N5X
/hardware/interfaces/audio/common/2.0/default/HidlUtils.cpp