diff options
author | Android Partner Docs <noreply@android.com> | 2017-06-13 09:11:47 -0700 |
---|---|---|
committer | Clay Murphy <claym@google.com> | 2017-06-13 10:16:58 -0700 |
commit | ddbca9044318d55bbd03e297540612de2e214fea (patch) | |
tree | 740ebc006d9de93b185781eff054136fb00cf45f /en/devices/audio/implement-policy.html | |
parent | 9e286c1def9034893e962d1c8a4a460c8bbd79e8 (diff) | |
download | source.android.com-ddbca9044318d55bbd03e297540612de2e214fea.tar.gz |
Docs: Changes to source.android.com
- 158853343 Add devsite-terminal and devsite-click-to-copy to first p... by cqn <cqn@google.com>
- 158853184 Add devsite-terminal and devsite-click-to-copy to remaini... by cqn <cqn@google.com>
- 158853067 Add devsite-terminal and devsite-click-to-copy to devices... by cqn <cqn@google.com>
- 158740747 Add note about HID application collections to usb headset... by daroberts <daroberts@google.com>
- 158722461 Add AAudio and links by claym <claym@google.com>
- 158561498 CDD: Update Remote Control Req for Android Television dev... by Android Partner Docs <noreply@android.com>
- 158429467 Add terminal and click-to-copy to <pre> and <code> tags o... by cqn <cqn@google.com>
- 158418156 Remove unnecessary intro header by daroberts <daroberts@google.com>
- 158413508 Finish up devsite-terminal and devsite-click-to-copy tags... by cqn <cqn@google.com>
- 158316692 Add AOSP links to the June 2017 security bulletin by daroberts <daroberts@google.com>
- 158290540 Update unclear command in SELinux validation docs by daroberts <daroberts@google.com>
- 158286335 Relax Android TV devices requirement for HEVC 1080P30 sup... by Android Partner Docs <noreply@android.com>
- 158286269 Relax Android TV devices requirement for HEVC 1080P30 sup... by Android Partner Docs <noreply@android.com>
- 158171876 Add "devsite-terminal" and "devsite-click-to-print" tags ... by cqn <cqn@google.com>
- 158167343 Note restricted profiles are also available on TV by claym <claym@google.com>
- 158157233 Add tag names for June Security Release. by Android Partner Docs <noreply@android.com>
- 158138050 Docs: adding debug updates to home page by hvm <hvm@google.com>
- 158083990 Add class="devsite-terminal" tags to <pre> and <code> blo... by cqn <cqn@google.com>
- 158069098 Updated image relative path to absolute path. by cqn <cqn@google.com>
PiperOrigin-RevId: 158853343
Change-Id: If05d97edad224e03f89e257d4e3ca0124147460b
Diffstat (limited to 'en/devices/audio/implement-policy.html')
-rw-r--r-- | en/devices/audio/implement-policy.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/en/devices/audio/implement-policy.html b/en/devices/audio/implement-policy.html index 16cd0820..a6ccf0e9 100644 --- a/en/devices/audio/implement-policy.html +++ b/en/devices/audio/implement-policy.html @@ -75,10 +75,9 @@ shows many of these features in use.</p> <code>/system/etc</code>. To view a simple audio policy configuration in the new XML file format, view the example below.</p> -<p> <section class="expandable"> <h4 class="showalways">Show audio policy example</h4> -<pre> +<pre class="devsite-click-to-copy"> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude"> <globalConfiguration speaker_drc_enabled="true"/> @@ -139,7 +138,6 @@ XML file format, view the example below.</p> <xi:include href="default_volume_tables.xml"/> </audioPolicyConfiguration> </pre></section> -</p> <p>The top level structure contains modules that correspond to each audio HAL hardware module, where each module has a list of mix ports, device ports, and @@ -160,7 +158,7 @@ overwritten.</p> <section class="expandable"> <h4 class="showalways">Show volume table example</h4> -<p><pre> +<pre class="devsite-click-to-copy"> <?xml version="1.0" encoding="UTF-8"?> <volumes> <reference name="FULL_SCALE_VOLUME_CURVE"> @@ -178,11 +176,11 @@ overwritten.</p> <point>100,0</point> </reference> </volumes> -</pre></p></section> +</pre></section> <section class="expandable"> <h4 class="showalways">Show volumes example</h4> -<p><pre> +<pre class="devsite-click-to-copy"> <?xml version="1.0" encoding="UTF-8"?> <volumes> <volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_VOLUME_CURVE"/> @@ -255,7 +253,7 @@ overwritten.</p> <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="FULL_SCALE_VOLUME_CURVE"/> <volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="FULL_SCALE_VOLUME_CURVE"/> </volumes> -</pre></p></section> +</pre></section> <h2 id=file_inclusions>File inclusions</h2> <p>The XML Inclusions (XInclude) method can be used to include audio policy @@ -391,7 +389,7 @@ product. The following example from a Galaxy Nexus shows a <em>dynamic</em> channel mask, which means the audio policy manager queries the actual channel masks supported by the HDMI sink after connection.</p> -<pre> +<pre class="devsite-click-to-copy"> audio_hw_modules { primary { outputs { |