audio: update XSD for dynamic engine loading support config am: f282171776 am: bd5f74b53e

Change-Id: Ib90abda014d8e757c4649ae2fc58fe27f1148bd1
This commit is contained in:
Automerger Merge Worker 2020-01-22 18:46:21 +00:00
commit 1574fade9f
2 changed files with 15 additions and 0 deletions

View file

@ -214,6 +214,12 @@ package audio.policy.configuration.V6_0 {
method public void set_default(boolean);
}
public enum EngineSuffix {
method public String getRawName();
enum_constant public static final audio.policy.configuration.V6_0.EngineSuffix _default;
enum_constant public static final audio.policy.configuration.V6_0.EngineSuffix configurable;
}
public enum GainMode {
method public String getRawName();
enum_constant public static final audio.policy.configuration.V6_0.GainMode AUDIO_GAIN_MODE_CHANNELS;
@ -252,7 +258,9 @@ package audio.policy.configuration.V6_0 {
public class GlobalConfiguration {
ctor public GlobalConfiguration();
method public audio.policy.configuration.V6_0.EngineSuffix getEngine_library();
method public boolean getSpeaker_drc_enabled();
method public void setEngine_library(audio.policy.configuration.V6_0.EngineSuffix);
method public void setSpeaker_drc_enabled(boolean);
}

View file

@ -66,6 +66,7 @@
</xs:element>
<xs:complexType name="globalConfiguration">
<xs:attribute name="speaker_drc_enabled" type="xs:boolean" use="required"/>
<xs:attribute name="engine_library" type="engineSuffix" use="optional"/>
</xs:complexType>
<xs:complexType name="modules">
<xs:annotation>
@ -623,4 +624,10 @@
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="engineSuffix">
<xs:restriction base="xs:string">
<xs:enumeration value="default"/>
<xs:enumeration value="configurable"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>