OSDN Git Service

Allow partially dynamic profile in the audio policy config
authorKevin Rocard <krocard@google.com>
Thu, 31 Aug 2017 23:45:08 +0000 (16:45 -0700)
committerKevin Rocard <krocard@google.com>
Wed, 6 Sep 2017 21:16:51 +0000 (21:16 +0000)
commit3092b31b1438046cd1b8494b6bbeab9886872e74
tree31c788a4d22670a842ea20b1ee5f921a4550f22b
parent40aad4e988a87cd61d46eb6a6227245aff18338c
Allow partially dynamic profile in the audio policy config

The audio policy configuration deserializer supports fully dynamic
profiles by not setting a profile in a port.
It also supports partially dynamic profile by
not setting @format, @samplingRates or @channelMasks

Nevertheless this last feature of partial dynamic profile
was mistakenly not allowed by the configuration xsd.

Bug: 63541622
Change-Id: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Merged-In: I78f77a77a3c62bba28a7da5a0e3c8c608b5a01d9
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 43d25f2f26eee5655214cf5426a629916aece061)
audio/2.0/config/audio_policy_configuration.xsd