mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
audio: Add recommended mute duration attribute to APM XSD
Add 'recommendedMuteDurationMs' optional attribute to 'mixPort' element. This attribute specifies customized mute duration while switching device's audio path to avoid truncated sound at the beginning. The framework is already aware of this attribute, only need to allow it in the XSD. Bug: 183344508 Bug: 197823000 Test: m CTS-Coverage-bug: 215647214 Change-Id: I3be36009d1b5db218c846efe96f078e858283992
This commit is contained in:
@@ -458,6 +458,7 @@ package android.audio.policy.configuration.V7_1 {
|
||||
method @Nullable public String getName();
|
||||
method @Nullable public java.util.List<android.audio.policy.configuration.V7_1.AudioUsage> getPreferredUsage();
|
||||
method @Nullable public java.util.List<android.audio.policy.configuration.V7_1.Profile> getProfile();
|
||||
method @Nullable public long getRecommendedMuteDurationMs();
|
||||
method @Nullable public android.audio.policy.configuration.V7_1.Role getRole();
|
||||
method public void setFlags(@Nullable java.util.List<android.audio.policy.configuration.V7_1.AudioInOutFlag>);
|
||||
method public void setGains(@Nullable android.audio.policy.configuration.V7_1.Gains);
|
||||
@@ -465,6 +466,7 @@ package android.audio.policy.configuration.V7_1 {
|
||||
method public void setMaxOpenCount(@Nullable long);
|
||||
method public void setName(@Nullable String);
|
||||
method public void setPreferredUsage(@Nullable java.util.List<android.audio.policy.configuration.V7_1.AudioUsage>);
|
||||
method public void setRecommendedMuteDurationMs(@Nullable long);
|
||||
method public void setRole(@Nullable android.audio.policy.configuration.V7_1.Role);
|
||||
}
|
||||
|
||||
|
||||
@@ -225,6 +225,7 @@
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="recommendedMuteDurationMs" type="xs:unsignedInt"/>
|
||||
</xs:complexType>
|
||||
<xs:unique name="mixPortProfileUniqueness">
|
||||
<xs:selector xpath="profile"/>
|
||||
|
||||
Reference in New Issue
Block a user