Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 1 | page.title=Audio Terminology |
| 2 | @jd:body |
| 3 | |
Clay Murphy | bc92aea | 2014-10-16 10:13:18 -0700 | [diff] [blame] | 4 | <!-- |
Clay Murphy | 5d83ab4 | 2014-09-09 17:29:09 -0700 | [diff] [blame] | 5 | Copyright 2014 The Android Open Source Project |
Clay Murphy | bc92aea | 2014-10-16 10:13:18 -0700 | [diff] [blame] | 6 | |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | --> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 19 | <div id="qv-wrapper"> |
| 20 | <div id="qv"> |
| 21 | <h2>In this document</h2> |
| 22 | <ol id="auto-toc"> |
| 23 | </ol> |
| 24 | </div> |
| 25 | </div> |
| 26 | |
| 27 | <p> |
| 28 | This document provides a glossary of audio-related terminology, including |
| 29 | a list of widely used, generic terms and a list of terms that are specific |
| 30 | to Android. |
| 31 | </p> |
| 32 | |
| 33 | <h2 id="genericTerm">Generic Terms</h2> |
| 34 | |
| 35 | <p> |
| 36 | These are audio terms that are widely used, with their conventional meanings. |
| 37 | </p> |
| 38 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 39 | <h3 id="digitalAudioTerms">Digital Audio</h3> |
| 40 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 41 | <dl> |
| 42 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 43 | <dt>acoustics</dt> |
| 44 | <dd> |
| 45 | The study of the mechanical properties of sound, for example how the |
| 46 | physical placement of transducers such as speakers and microphones on |
| 47 | a device affects perceived audio quality. |
| 48 | </dd> |
| 49 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 50 | <dt>attenuation</dt> |
| 51 | <dd> |
| 52 | A multiplicative factor less than or equal to 1.0, |
| 53 | applied to an audio signal to decrease the signal level. |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 54 | Compare to "gain." |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 55 | </dd> |
| 56 | |
Glenn Kasten | 628654f | 2015-02-05 13:06:10 -0800 | [diff] [blame^] | 57 | <dt>audiophile</dt> |
| 58 | <dd> |
| 59 | An <a href="http://en.wikipedia.org/wiki/Audiophile">audiophile</a> |
| 60 | is an individual who is concerned with a superior music |
| 61 | reproduction experience, especially someone willing to make tradeoffs |
| 62 | (of expense, component size, room design, etc.) beyond what an ordinary |
| 63 | person might choose. |
| 64 | </dd> |
| 65 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 66 | <dt>bits per sample or bit depth</dt> |
| 67 | <dd> |
| 68 | Number of bits of information per sample. |
| 69 | </dd> |
| 70 | |
| 71 | <dt>channel</dt> |
| 72 | <dd> |
| 73 | A single stream of audio information, usually corresponding to one |
| 74 | location of recording or playback. |
| 75 | </dd> |
| 76 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 77 | <dt>downmixing</dt> |
| 78 | <dd> |
| 79 | To decrease the number of channels, e.g. from stereo to mono, or from 5.1 to stereo. |
| 80 | This can be accomplished by dropping some channels, mixing channels, or more advanced signal processing. |
| 81 | Simple mixing without attenuation or limiting has the potential for overflow and clipping. |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 82 | Compare to "upmixing." |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 83 | </dd> |
| 84 | |
Glenn Kasten | 628654f | 2015-02-05 13:06:10 -0800 | [diff] [blame^] | 85 | <dt>DSD</dt> |
| 86 | <dd> |
| 87 | A proprietary audio encoding based on |
| 88 | <a href="http://en.wikipedia.org/wiki/Pulse-density_modulation">pulse-density modulation</a>. |
| 89 | Whereas PCM encodes a waveform as a sequence of individual audio samples of multiple bits, |
| 90 | DSD encodes a waveform as a sequence of bits at a very high sample rate. |
| 91 | For DSD, there is no concept of "samples" in the conventional PCM sense. |
| 92 | Both PCM and DSD represent multiple channels by independent sequences. |
| 93 | DSD is better suited to content distribution than as an internal representation for processing, |
| 94 | as it can be difficult to apply traditional DSP algorithms to DSD. |
| 95 | DSD is used in |
| 96 | <a href="http://en.wikipedia.org/wiki/Super_Audio_CD">Super Audio CD</a> |
| 97 | (SACD), and in DSD over PCM (DoP) for USB. |
| 98 | See the Wikipedia article |
| 99 | <a href="http://en.wikipedia.org/wiki/Direct_Stream_Digital">Digital Stream Digital<a/> |
| 100 | for more information. |
| 101 | </dd> |
| 102 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 103 | <dt>duck</dt> |
| 104 | <dd> |
| 105 | To temporarily reduce the volume of one stream, when another stream |
| 106 | becomes active. For example, if music is playing and a notification arrives, |
| 107 | then the music stream could be ducked while the notification plays. |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 108 | Compare to "mute." |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 109 | </dd> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 110 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 111 | <dt>frame</dt> |
| 112 | <dd> |
| 113 | A set of samples, one per channel, at a point in time. |
| 114 | </dd> |
| 115 | |
| 116 | <dt>frames per buffer</dt> |
| 117 | <dd> |
| 118 | The number of frames handed from one module to the next at once; |
| 119 | for example the audio HAL interface uses this concept. |
| 120 | </dd> |
| 121 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 122 | <dt>gain</dt> |
| 123 | <dd> |
| 124 | A multiplicative factor greater than or equal to 1.0, |
| 125 | applied to an audio signal to increase the signal level. |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 126 | Compare to "attenuation." |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 127 | </dd> |
| 128 | |
Glenn Kasten | 628654f | 2015-02-05 13:06:10 -0800 | [diff] [blame^] | 129 | <dt>HD audio</dt> |
| 130 | <dd> |
| 131 | High Definition audio, a synonym for "high-resolution audio". |
| 132 | Not to be confused with Intel High Definition Audio. |
| 133 | </dd> |
| 134 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 135 | <dt>Hz</dt> |
| 136 | <dd> |
| 137 | The units for sample rate or frame rate. |
| 138 | </dd> |
| 139 | |
Glenn Kasten | 628654f | 2015-02-05 13:06:10 -0800 | [diff] [blame^] | 140 | <dt>high-resolution audio</dt> |
| 141 | <dd> |
| 142 | There is no standard definition, but high-resolution usually means any representation |
| 143 | with greater bit-depth and sample rate than CDs (which are stereo 16-bit PCM at 44.1 kHz), |
| 144 | and with no lossy data compression applied. |
| 145 | Equivalent to "HD audio". See the Wikipedia article |
| 146 | <a href="http://en.wikipedia.org/wiki/High-resolution_audio">high-resolution audio</a> |
| 147 | for more information. |
| 148 | </dd> |
| 149 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 150 | <dt>latency</dt> |
| 151 | <dd> |
| 152 | Time delay as a signal passes through a system. |
| 153 | </dd> |
| 154 | |
Glenn Kasten | 628654f | 2015-02-05 13:06:10 -0800 | [diff] [blame^] | 155 | <dt>lossless</dt> |
| 156 | <dd> |
| 157 | A <a href="http://en.wikipedia.org/wiki/Lossless_compression">lossless data compression</a> |
| 158 | algorithm preserves bit accuracy across encoding and decoding. |
| 159 | The result of decoding any previously encoded data is equivalent to the original data. |
| 160 | Examples of lossless audio content distribution formats include |
| 161 | <a href="http://en.wikipedia.org/wiki/Compact_disc">CDs</a>, PCM within |
| 162 | <a href="http://en.wikipedia.org/wiki/WAV">WAV</a>, and |
| 163 | <a href="http://en.wikipedia.org/wiki/FLAC">FLAC</a>. |
| 164 | Note that the authoring process may reduce the bit depth or sample rate from that of the |
| 165 | <a href="http://en.wikipedia.org/wiki/Audio_mastering">masters</a>. |
| 166 | Distribution formats that preserve the resolution and bit accuracy of masters |
| 167 | are the subject of "high-resolution audio". |
| 168 | </dd> |
| 169 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 170 | <dt>mono</dt> |
| 171 | <dd> |
| 172 | One channel. |
| 173 | </dd> |
| 174 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 175 | <dt>multichannel</dt> |
| 176 | <dd> |
| 177 | See "surround sound". |
| 178 | Strictly, since stereo is more than one channel, it is also "multi" channel. |
| 179 | But that usage would be confusing. |
| 180 | </dd> |
| 181 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 182 | <dt>mute</dt> |
| 183 | <dd> |
| 184 | To (temporarily) force volume to be zero, independently from the usual volume controls. |
| 185 | </dd> |
| 186 | |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 187 | <dt>overrun</dt> |
| 188 | <dd> |
| 189 | An audible <a href="http://en.wikipedia.org/wiki/Glitch">glitch</a> caused by failure |
| 190 | to accept supplied data in sufficient time. |
| 191 | See Wikipedia article <a href="http://en.wikipedia.org/wiki/Buffer_underrun">buffer underrun</a> |
| 192 | [sic; the article for "buffer overrun" describes an unrelated failure]. |
| 193 | Compare to "underrun." |
| 194 | </dd> |
| 195 | |
| 196 | <dt>panning</dt> |
| 197 | <dd> |
| 198 | To direct a signal to a desired position within a stereo or multi-channel field. |
| 199 | </dd> |
| 200 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 201 | <dt>PCM</dt> |
| 202 | <dd> |
| 203 | Pulse Code Modulation, the most common low-level encoding of digital audio. |
| 204 | The audio signal is sampled at a regular interval, called the sample rate, |
| 205 | and then quantized to discrete values within a particular range depending on the bit depth. |
| 206 | For example, for 16-bit PCM, the sample values are integers between -32768 and +32767. |
| 207 | </dd> |
| 208 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 209 | <dt>ramp</dt> |
| 210 | <dd> |
| 211 | To gradually increase or decrease the level of a particular audio parameter, |
| 212 | for example volume or the strength of an effect. |
| 213 | A volume ramp is commonly applied when pausing and resuming music, to avoid a hard audible transition. |
| 214 | </dd> |
| 215 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 216 | <dt>sample</dt> |
| 217 | <dd> |
| 218 | A number representing the audio value for a single channel at a point in time. |
| 219 | </dd> |
| 220 | |
| 221 | <dt>sample rate or frame rate</dt> |
| 222 | <dd> |
| 223 | Number of frames per second; |
| 224 | note that "frame rate" is thus more accurate, |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 225 | but "sample rate" is conventionally used to mean "frame rate." |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 226 | </dd> |
| 227 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 228 | <dt>sonification</dt> |
| 229 | <dd> |
| 230 | The use of sound to express feedback or information, |
| 231 | for example touch sounds and keyboard sounds. |
| 232 | </dd> |
| 233 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 234 | <dt>stereo</dt> |
| 235 | <dd> |
| 236 | Two channels. |
| 237 | </dd> |
| 238 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 239 | <dt>stereo widening</dt> |
| 240 | <dd> |
| 241 | An effect applied to a stereo signal, to make another stereo signal which sounds fuller and richer. |
| 242 | The effect can also be applied to a mono signal, in which case it is a type of upmixing. |
| 243 | </dd> |
| 244 | |
| 245 | <dt>surround sound</dt> |
| 246 | <dd> |
| 247 | Various techniques for increasing the ability of a listener to perceive |
| 248 | sound position beyond stereo left and right. |
| 249 | </dd> |
| 250 | |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 251 | <dt>underrun</dt> |
| 252 | <dd> |
| 253 | An audible <a href="http://en.wikipedia.org/wiki/Glitch">glitch</a> caused by failure |
| 254 | to supply needed data in sufficient time. |
| 255 | See Wikipedia article <a href="http://en.wikipedia.org/wiki/Buffer_underrun">buffer underrun</a>. |
| 256 | Compare to "overrun." |
| 257 | </dd> |
| 258 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 259 | <dt>upmixing</dt> |
| 260 | <dd> |
| 261 | To increase the number of channels, e.g. from mono to stereo, or from stereo to surround sound. |
| 262 | This can be accomplished by duplication, panning, or more advanced signal processing. |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 263 | Compare to "downmixing." |
Glenn Kasten | 795a9de | 2014-01-24 08:58:56 -0800 | [diff] [blame] | 264 | </dd> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 265 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 266 | <dt>virtualizer</dt> |
| 267 | <dd> |
| 268 | An effect that attempts to spatialize audio channels, such as trying to |
| 269 | simulate more speakers, or give the illusion that various sound sources have position. |
| 270 | </dd> |
| 271 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 272 | <dt>volume</dt> |
| 273 | <dd> |
| 274 | Loudness, the subjective strength of an audio signal. |
| 275 | </dd> |
| 276 | |
Glenn Kasten | 795a9de | 2014-01-24 08:58:56 -0800 | [diff] [blame] | 277 | </dl> |
| 278 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 279 | <h3 id="hardwareTerms">Hardware and Accessories</h3> |
| 280 | |
| 281 | <p> |
| 282 | These terms are related to audio hardware and accessories. |
| 283 | </p> |
| 284 | |
| 285 | <h4 id="interDeviceTerms">Inter-device interconnect</h4> |
| 286 | |
| 287 | <p> |
| 288 | These technologies connect audio and video components between devices, |
| 289 | and are readily visible at the external connectors. The HAL implementor |
| 290 | may need to be aware of these, as well as the end user. |
| 291 | </p> |
| 292 | |
| 293 | <dl> |
| 294 | |
| 295 | <dt>Bluetooth</dt> |
| 296 | <dd> |
| 297 | A short range wireless technology. |
| 298 | The major audio-related |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 299 | <a href="http://en.wikipedia.org/wiki/Bluetooth_profile">Bluetooth profiles</a> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 300 | and |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 301 | <a href="http://en.wikipedia.org/wiki/Bluetooth_protocols">Bluetooth protocols</a> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 302 | are described at these Wikipedia articles: |
| 303 | |
| 304 | <ul> |
| 305 | |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 306 | <li><a href="http://en.wikipedia.org/wiki/Bluetooth_profile#Advanced_Audio_Distribution_Profile_.28A2DP.29">A2DP</a> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 307 | for music |
| 308 | </li> |
| 309 | |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 310 | <li><a href="http://en.wikipedia.org/wiki/Bluetooth_protocols#Synchronous_connection-oriented_.28SCO.29_link">SCO</a> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 311 | for telephony |
| 312 | </li> |
| 313 | |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 314 | <li><a href="http://en.wikipedia.org/wiki/List_of_Bluetooth_profiles#Audio.2FVideo_Remote_Control_Profile_.28AVRCP.29">Audio/Video Remote Control Profile (AVRCP)</a> |
| 315 | </li> |
| 316 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 317 | </ul> |
| 318 | |
| 319 | </dd> |
| 320 | |
| 321 | <dt>DisplayPort</dt> |
| 322 | <dd> |
| 323 | Digital display interface by VESA. |
| 324 | </dd> |
| 325 | |
| 326 | <dt>HDMI</dt> |
| 327 | <dd> |
| 328 | High-Definition Multimedia Interface, an interface for transferring |
| 329 | audio and video data. For mobile devices, either a micro-HDMI (type D) or MHL connector is used. |
| 330 | </dd> |
| 331 | |
| 332 | <dt>MHL</dt> |
| 333 | <dd> |
| 334 | Mobile High-Definition Link is a mobile audio/video interface, often |
| 335 | over micro-USB connector. |
| 336 | </dd> |
| 337 | |
| 338 | <dt>phone connector</dt> |
| 339 | <dd> |
| 340 | A mini or sub-mini phone connector |
| 341 | connects a device to wired headphones, headset, or line-level amplifier. |
| 342 | </dd> |
| 343 | |
| 344 | <dt>SlimPort</dt> |
| 345 | <dd> |
| 346 | An adapter from micro-USB to HDMI. |
| 347 | </dd> |
| 348 | |
| 349 | <dt>S/PDIF</dt> |
| 350 | <dd> |
| 351 | Sony/Philips Digital Interface Format is an interconnect for uncompressed PCM. |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 352 | See Wikipedia article <a href="http://en.wikipedia.org/wiki/S/PDIF">S/PDIF</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 353 | </dd> |
| 354 | |
| 355 | <dt>USB</dt> |
| 356 | <dd> |
| 357 | Universal Serial Bus. |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 358 | See Wikipedia article <a href="http://en.wikipedia.org/wiki/USB">USB</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 359 | </dd> |
| 360 | |
| 361 | </dl> |
| 362 | |
| 363 | <h4 id="intraDeviceTerms">Intra-device interconnect</h4> |
| 364 | |
| 365 | <p> |
| 366 | These technologies connect internal audio components within a given |
| 367 | device, and are not visible without disassembling the device. The HAL |
| 368 | implementor may need to be aware of these, but not the end user. |
| 369 | </p> |
| 370 | |
| 371 | See these Wikipedia articles: |
| 372 | <ul> |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 373 | <li><a href="http://en.wikipedia.org/wiki/General-purpose_input/output">GPIO</a></li> |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 374 | <li><a href="http://en.wikipedia.org/wiki/I%C2%B2C">I²C</a>, for control channel</li> |
| 375 | <li><a href="http://en.wikipedia.org/wiki/I%C2%B2S">I²S</a>, for audio data</li> |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 376 | <li><a href="http://en.wikipedia.org/wiki/McASP">McASP</a></li> |
| 377 | <li><a href="http://en.wikipedia.org/wiki/SLIMbus">SLIMbus</a></li> |
| 378 | <li><a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a></li> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 379 | </ul> |
| 380 | |
| 381 | <h3 id="signalTerms">Audio Signal Path</h3> |
| 382 | |
| 383 | <p> |
| 384 | These terms are related to the signal path that audio data follows from |
| 385 | an application to the transducer, or vice-versa. |
| 386 | </p> |
| 387 | |
Glenn Kasten | 795a9de | 2014-01-24 08:58:56 -0800 | [diff] [blame] | 388 | <dl> |
| 389 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 390 | <dt>ADC</dt> |
| 391 | <dd> |
| 392 | Analog to digital converter, a module that converts an analog signal |
| 393 | (continuous in both time and amplitude) to a digital signal (discrete in |
| 394 | both time and amplitude). Conceptually, an ADC consists of a periodic |
| 395 | sample-and-hold followed by a quantizer, although it does not have to |
| 396 | be implemented that way. An ADC is usually preceded by a low-pass filter |
| 397 | to remove any high frequency components that are not representable using |
| 398 | the desired sample rate. See Wikipedia article |
Glenn Kasten | ff257d4 | 2014-11-10 16:29:03 -0800 | [diff] [blame] | 399 | <a href="http://en.wikipedia.org/wiki/Analog-to-digital_converter">Analog-to-digital converter</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 400 | </dd> |
| 401 | |
| 402 | <dt>AP</dt> |
| 403 | <dd> |
| 404 | Application processor, the main general-purpose computer on a mobile device. |
| 405 | </dd> |
| 406 | |
| 407 | <dt>codec</dt> |
| 408 | <dd> |
| 409 | Coder-decoder, a module that encodes and/or decodes an audio signal |
| 410 | from one representation to another. Typically this is analog to PCM, or PCM to analog. |
| 411 | Strictly, the term "codec" is reserved for modules that both encode and decode, |
| 412 | however it can also more loosely refer to only one of these. |
| 413 | See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 414 | <a href="http://en.wikipedia.org/wiki/Audio_codec">Audio codec</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 415 | </dd> |
| 416 | |
| 417 | <dt>DAC</dt> |
| 418 | <dd> |
| 419 | Digital to analog converter, a module that converts a digital signal |
| 420 | (discrete in both time and amplitude) to an analog signal |
| 421 | (continuous in both time and amplitude). A DAC is usually followed by |
| 422 | a low-pass filter to remove any high frequency components introduced |
| 423 | by digital quantization. |
| 424 | See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 425 | <a href="http://en.wikipedia.org/wiki/Digital-to-analog_converter">Digital-to-analog converter</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 426 | </dd> |
| 427 | |
| 428 | <dt>DSP</dt> |
| 429 | <dd> |
| 430 | Digital Signal Processor, an optional component which is typically located |
| 431 | after the application processor (for output), or before the application processor (for input). |
| 432 | The primary purpose of a DSP is to off-load the application processor, |
| 433 | and provide signal processing features at a lower power cost. |
| 434 | </dd> |
| 435 | |
| 436 | <dt>PDM</dt> |
| 437 | <dd> |
| 438 | Pulse-density modulation |
| 439 | is a form of modulation used to represent an analog signal by a digital signal, |
| 440 | where the relative density of 1s versus 0s indicates the signal level. |
| 441 | It is commonly used by digital to analog converters. |
| 442 | See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 443 | <a href="http://en.wikipedia.org/wiki/Pulse-density_modulation">Pulse-density modulation</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 444 | </dd> |
| 445 | |
| 446 | <dt>PWM</dt> |
| 447 | <dd> |
| 448 | Pulse-width modulation |
| 449 | is a form of modulation used to represent an analog signal by a digital signal, |
| 450 | where the relative width of a digital pulse indicates the signal level. |
| 451 | It is commonly used by analog to digital converters. |
| 452 | See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 453 | <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">Pulse-width modulation</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 454 | </dd> |
| 455 | |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 456 | <dt>transducer</dt> |
| 457 | <dd> |
| 458 | A transducer converts variations in physical "real-world" quantities to electrical signals. |
| 459 | In audio, the physical quantity is sound pressure, |
| 460 | and the transducers are the loudspeaker and microphone. |
| 461 | See Wikipedia article |
| 462 | <a href="http://en.wikipedia.org/wiki/Transducer">Transducer</a>. |
| 463 | </dd> |
| 464 | |
Glenn Kasten | 795a9de | 2014-01-24 08:58:56 -0800 | [diff] [blame] | 465 | </dl> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 466 | |
Clay Murphy | 5d83ab4 | 2014-09-09 17:29:09 -0700 | [diff] [blame] | 467 | <h3 id="srcTerms">Sample Rate Conversion</h3> |
| 468 | |
| 469 | <dl> |
| 470 | |
| 471 | <dt>downsample</dt> |
| 472 | <dd>To resample, where sink sample rate < source sample rate.</dd> |
| 473 | |
| 474 | <dt>Nyquist frequency</dt> |
| 475 | <dd> |
| 476 | The Nyquist frequency, equal to 1/2 of a given sample rate, is the |
| 477 | maximum frequency component that can be represented by a discretized |
| 478 | signal at that sample rate. For example, the human hearing range is |
| 479 | typically assumed to extend up to approximately 20 kHz, and so a digital |
| 480 | audio signal must have a sample rate of at least 40 kHz to represent that |
| 481 | range. In practice, sample rates of 44.1 kHz and 48 kHz are commonly |
| 482 | used, with Nyquist frequencies of 22.05 kHz and 24 kHz respectively. |
| 483 | See |
Glenn Kasten | ff257d4 | 2014-11-10 16:29:03 -0800 | [diff] [blame] | 484 | <a href="http://en.wikipedia.org/wiki/Nyquist_frequency">Nyquist frequency</a> |
Clay Murphy | 5d83ab4 | 2014-09-09 17:29:09 -0700 | [diff] [blame] | 485 | and |
Glenn Kasten | ff257d4 | 2014-11-10 16:29:03 -0800 | [diff] [blame] | 486 | <a href="http://en.wikipedia.org/wiki/Hearing_range">Hearing range</a> |
Clay Murphy | 5d83ab4 | 2014-09-09 17:29:09 -0700 | [diff] [blame] | 487 | for more information. |
| 488 | </dd> |
| 489 | |
| 490 | <dt>resampler</dt> |
| 491 | <dd>Synonym for sample rate converter.</dd> |
| 492 | |
| 493 | <dt>resampling</dt> |
| 494 | <dd>The process of converting sample rate.</dd> |
| 495 | |
| 496 | <dt>sample rate converter</dt> |
| 497 | <dd>A module that resamples.</dd> |
| 498 | |
| 499 | <dt>sink</dt> |
| 500 | <dd>The output of a resampler.</dd> |
| 501 | |
| 502 | <dt>source</dt> |
| 503 | <dd>The input to a resampler.</dd> |
| 504 | |
| 505 | <dt>upsample</dt> |
| 506 | <dd>To resample, where sink sample rate > source sample rate.</dd> |
| 507 | |
| 508 | </dl> |
| 509 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 510 | <h2 id="androidSpecificTerms">Android-Specific Terms</h2> |
| 511 | |
| 512 | <p> |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 513 | These are terms specific to the Android audio framework, or that |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 514 | may have a special meaning within Android beyond their general meaning. |
| 515 | </p> |
| 516 | |
| 517 | <dl> |
| 518 | |
| 519 | <dt>ALSA</dt> |
| 520 | <dd> |
| 521 | Advanced Linux Sound Architecture. As the name suggests, it is an audio |
| 522 | framework primarily for Linux, but it has influenced other systems. |
| 523 | See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 524 | <a href="http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture">ALSA</a> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 525 | for the general definition. As used within Android, it refers primarily |
| 526 | to the kernel audio framework and drivers, not to the user-mode API. See |
| 527 | tinyalsa. |
| 528 | </dd> |
| 529 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 530 | <dt>AudioEffect</dt> |
| 531 | <dd> |
| 532 | An API and implementation framework for output (post-processing) effects |
| 533 | and input (pre-processing) effects. The API is defined at |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 534 | <a href="http://developer.android.com/reference/android/media/audiofx/AudioEffect.html">android.media.audiofx.AudioEffect</a>. |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 535 | </dd> |
| 536 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 537 | <dt>AudioFlinger</dt> |
| 538 | <dd> |
| 539 | The sound server implementation for Android. AudioFlinger |
| 540 | runs within the mediaserver process. See Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 541 | <a href="http://en.wikipedia.org/wiki/Sound_server">Sound server</a> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 542 | for the generic definition. |
| 543 | </dd> |
| 544 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 545 | <dt>audio focus</dt> |
| 546 | <dd> |
| 547 | A set of APIs for managing audio interactions across multiple independent apps. |
| 548 | See <a href="http://developer.android.com/training/managing-audio/audio-focus.html">Managing Audio |
| 549 | Focus</a> and the focus-related methods and constants of |
| 550 | <a href="http://developer.android.com/reference/android/media/AudioManager.html">android.media.AudioManager</a>. |
| 551 | </dd> |
| 552 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 553 | <dt>AudioMixer</dt> |
| 554 | <dd> |
| 555 | The module within AudioFlinger responsible for |
| 556 | combining multiple tracks and applying attenuation |
| 557 | (volume) and certain effects. The Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 558 | <a href="http://en.wikipedia.org/wiki/Audio_mixing_(recorded_music)">Audio mixing (recorded music)</a> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 559 | may be useful for understanding the generic |
| 560 | concept. But that article describes a mixer more as a hardware device |
| 561 | or a software application, rather than a software module within a system. |
| 562 | </dd> |
| 563 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 564 | <dt>audio policy</dt> |
| 565 | <dd> |
| 566 | Service responsible for all actions that require a policy decision |
| 567 | to be made first, such as opening a new I/O stream, re-routing after a |
Glenn Kasten | ff257d4 | 2014-11-10 16:29:03 -0800 | [diff] [blame] | 568 | change, and stream volume management. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 569 | </dd> |
| 570 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 571 | <dt>AudioRecord</dt> |
| 572 | <dd> |
| 573 | The primary low-level client API for receiving data from an audio |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 574 | input device such as microphone. The data is usually in pulse-code modulation |
| 575 | (PCM) format. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 576 | The API is defined at |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 577 | <a href="http://developer.android.com/reference/android/media/AudioRecord.html">android.media.AudioRecord</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 578 | </dd> |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 579 | |
| 580 | <dt>AudioResampler</dt> |
| 581 | <dd> |
Glenn Kasten | 46ac61c | 2014-01-24 08:59:11 -0800 | [diff] [blame] | 582 | The module within AudioFlinger responsible for |
Clay Murphy | 714cd07 | 2014-12-01 13:07:52 -0800 | [diff] [blame] | 583 | <a href="src.html">sample rate conversion</a>. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 584 | </dd> |
| 585 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 586 | <dt>AudioTrack</dt> |
| 587 | <dd> |
| 588 | The primary low-level client API for sending data to an audio output |
| 589 | device such as a speaker. The data is usually in PCM format. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 590 | The API is defined at |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 591 | <a href="http://developer.android.com/reference/android/media/AudioTrack.html">android.media.AudioTrack</a>. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 592 | </dd> |
| 593 | |
Glenn Kasten | 7351200 | 2015-01-15 10:06:31 -0800 | [diff] [blame] | 594 | <dt>audio_utils</dt> |
| 595 | <dd> |
| 596 | An audio utility library for features such as PCM format conversion, WAV file I/O, and |
| 597 | <a href="avoiding_pi.html#nonBlockingAlgorithms">non-blocking FIFO</a>, |
| 598 | which is largely independent of the Android platform. |
| 599 | </dd> |
| 600 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 601 | <dt>client</dt> |
| 602 | <dd> |
| 603 | Usually same as application or app, but sometimes the "client" of |
| 604 | AudioFlinger is actually a thread running within the mediaserver system |
| 605 | process. An example of that is when playing media that is decoded by a |
| 606 | MediaPlayer object. |
| 607 | </dd> |
| 608 | |
| 609 | <dt>HAL</dt> |
| 610 | <dd> |
| 611 | Hardware Abstraction Layer. HAL is a generic term in Android. With |
| 612 | respect to audio, it is a layer between AudioFlinger and the kernel |
| 613 | device driver with a C API, which replaces the earlier C++ libaudio. |
| 614 | </dd> |
| 615 | |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 616 | <dt>FastCapture</dt> |
| 617 | <dd> |
| 618 | A thread within AudioFlinger that sends audio data to lower latency "fast tracks" |
| 619 | and drives the input device when configured for reduced latency. |
| 620 | </dd> |
| 621 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 622 | <dt>FastMixer</dt> |
| 623 | <dd> |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 624 | A thread within AudioFlinger that receives and mixes audio data from lower latency "fast tracks" |
| 625 | and drives the primary output device when configured for reduced latency. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 626 | </dd> |
| 627 | |
| 628 | <dt>fast track</dt> |
| 629 | <dd> |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 630 | An AudioTrack or AudioRecord client with lower latency but fewer features, on some devices and routes. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 631 | </dd> |
| 632 | |
| 633 | <dt>MediaPlayer</dt> |
| 634 | <dd> |
| 635 | A higher-level client API than AudioTrack, for playing either encoded |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 636 | content, or content which includes multimedia audio and video tracks. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 637 | </dd> |
| 638 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 639 | <dt>media.log</dt> |
| 640 | <dd> |
| 641 | An AudioFlinger debugging feature, available in custom builds only, |
| 642 | for logging audio events to a circular buffer where they can then be |
| 643 | dumped retroactively when needed. |
| 644 | </dd> |
| 645 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 646 | <dt>mediaserver</dt> |
| 647 | <dd> |
| 648 | An Android system process that contains a number of media-related |
| 649 | services, including AudioFlinger. |
| 650 | </dd> |
| 651 | |
| 652 | <dt>NBAIO</dt> |
| 653 | <dd> |
| 654 | An abstraction for "non-blocking" audio input/output ports used within |
| 655 | AudioFlinger. The name can be misleading, as some implementations of |
| 656 | the NBAIO API actually do support blocking. The key implementations of |
| 657 | NBAIO are for pipes of various kinds. |
| 658 | </dd> |
| 659 | |
| 660 | <dt>normal mixer</dt> |
| 661 | <dd> |
| 662 | A thread within AudioFlinger that services most full-featured |
| 663 | AudioTrack clients, and either directly drives an output device or feeds |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 664 | its sub-mix into FastMixer via a pipe. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 665 | </dd> |
| 666 | |
| 667 | <dt>OpenSL ES</dt> |
| 668 | <dd> |
Glenn Kasten | 978bec8 | 2014-12-23 15:15:20 -0800 | [diff] [blame] | 669 | An audio API standard by |
| 670 | <a href="http://www.khronos.org/">The Khronos Group</a>. Android versions since |
| 671 | API level 9 support a native audio API that is based on a subset of |
| 672 | <a href="http://www.khronos.org/opensles/">OpenSL ES 1.0.1</a>. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 673 | </dd> |
| 674 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 675 | <dt>silent mode</dt> |
| 676 | <dd> |
| 677 | A user-settable feature to mute the phone ringer and notifications, |
| 678 | without affecting media playback (music, videos, games) or alarms. |
| 679 | </dd> |
| 680 | |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 681 | <dt>SoundPool</dt> |
| 682 | <dd> |
| 683 | A higher-level client API than AudioTrack, used for playing sampled |
| 684 | audio clips. It is useful for triggering UI feedback, game sounds, etc. |
| 685 | The API is defined at |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 686 | <a href="http://developer.android.com/reference/android/media/SoundPool.html">android.media.SoundPool</a>. |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 687 | </dd> |
Glenn Kasten | 5df2d52 | 2013-09-27 11:50:35 -0700 | [diff] [blame] | 688 | |
| 689 | <dt>Stagefright</dt> |
| 690 | <dd> |
| 691 | See <a href="{@docRoot}devices/media.html">Media</a>. |
| 692 | </dd> |
| 693 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 694 | <dt>StateQueue</dt> |
| 695 | <dd> |
| 696 | A module within AudioFlinger responsible for synchronizing state |
| 697 | among threads. Whereas NBAIO is used to pass data, StateQueue is used |
| 698 | to pass control information. |
| 699 | </dd> |
| 700 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 701 | <dt>strategy</dt> |
| 702 | <dd> |
| 703 | A grouping of stream types with similar behavior, used by the audio policy service. |
| 704 | </dd> |
| 705 | |
| 706 | <dt>stream type</dt> |
| 707 | <dd> |
| 708 | An enumeration that expresses a use case for audio output. |
| 709 | The audio policy implementation uses the stream type, along with other parameters, |
| 710 | to determine volume and routing decisions. |
| 711 | Specific stream types are listed at |
| 712 | <a href="http://developer.android.com/reference/android/media/AudioManager.html">android.media.AudioManager</a>. |
| 713 | </dd> |
| 714 | |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 715 | <dt>tee sink</dt> |
| 716 | <dd> |
Glenn Kasten | 37784a5 | 2014-02-03 11:57:33 -0800 | [diff] [blame] | 717 | See the separate article on tee sink in |
Clay Murphy | 714cd07 | 2014-12-01 13:07:52 -0800 | [diff] [blame] | 718 | <a href="debugging.html#teeSink">Audio Debugging</a>. |
Glenn Kasten | 298f382 | 2013-06-12 17:17:36 -0700 | [diff] [blame] | 719 | </dd> |
| 720 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 721 | <dt>tinyalsa</dt> |
| 722 | <dd> |
| 723 | A small user-mode API above ALSA kernel with BSD license, recommended |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 724 | for use in HAL implementations. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 725 | </dd> |
| 726 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 727 | <dt>ToneGenerator</dt> |
| 728 | <dd> |
| 729 | A higher-level client API than AudioTrack, used for playing DTMF signals. |
| 730 | See the Wikipedia article |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 731 | <a href="http://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling">Dual-tone multi-frequency signaling</a>, |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 732 | and the API definition at |
Clay Murphy | dc85c74 | 2014-09-10 15:10:03 -0700 | [diff] [blame] | 733 | <a href="http://developer.android.com/reference/android/media/ToneGenerator.html">android.media.ToneGenerator</a>. |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 734 | </dd> |
| 735 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 736 | <dt>track</dt> |
| 737 | <dd> |
Glenn Kasten | ff257d4 | 2014-11-10 16:29:03 -0800 | [diff] [blame] | 738 | An audio stream, controlled by the AudioTrack or AudioRecord API. |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 739 | </dd> |
| 740 | |
Glenn Kasten | fdc7b7b | 2013-10-28 11:11:34 -0700 | [diff] [blame] | 741 | <dt>volume attenuation curve</dt> |
| 742 | <dd> |
| 743 | A device-specific mapping from a generic volume index to a particular attenuation factor |
| 744 | for a given output. |
| 745 | </dd> |
| 746 | |
| 747 | <dt>volume index</dt> |
| 748 | <dd> |
| 749 | A unitless integer that expresses the desired relative volume of a stream. |
| 750 | The volume-related APIs of |
| 751 | <a href="http://developer.android.com/reference/android/media/AudioManager.html">android.media.AudioManager</a> |
| 752 | operate in volume indices rather than absolute attenuation factors. |
| 753 | </dd> |
| 754 | |
Glenn Kasten | 963fd95 | 2013-04-18 17:26:23 -0700 | [diff] [blame] | 755 | </dl> |