OSDN Git Service

audio HAL: Add missing input channel masks
authorMikhail Naganov <mnaganov@google.com>
Wed, 7 Mar 2018 18:57:39 +0000 (10:57 -0800)
committerMikhail Naganov <mnaganov@google.com>
Wed, 7 Mar 2018 19:27:35 +0000 (19:27 +0000)
commit0dff5e319a8e612d1b590cc6bde52c5da928a08e
treece811a05ea221a9ec63b0655c8acda0878c927be
parentce55fde3659eacf8021165c47492447af1b6df4c
audio HAL: Add missing input channel masks

The following masks added for input: 2.0.2, 2.1.2, 3.0.2, 3.1.2

Add utility function 'audio_channel_mask_in_to_out' for deriving
a corresponding output channel mask from an input mask.

Remove temporary AUDIO_OUTPUT_FLAG_INCALL_MUSIC definition.

Bug: 38184704
Bug: 63901775
Test: make
Change-Id: If84a3e4942163f4cd6417486d601ac9a7b5b2068
audio/include/system/audio-base.h
audio/include/system/audio.h