You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.0 KiB
2.0 KiB
5.5. Audio Playback
Android includes the support to allow apps to playback audio through the audio output peripheral as defined in section 7.8.2.
5.5.1. Raw Audio Playback
If device implementations declare android.hardware.audio.output, they:
-
[C-1-1] MUST allow playback of raw audio content with the following characteristics:
-
Format: Linear PCM, 16-bit
-
Sampling rates: 8000, 11025, 16000, 22050, 32000, 44100
-
Channels: Mono, Stereo
-
SHOULD allow playback of raw audio content with the following characteristics:
-
Sampling rates: 24000, 48000
5.5.2. Audio Effects
Android provides an API for audio effects for device implementations.
If device implementations declare the feature android.hardware.audio.output,
they:
- [C-1-1] MUST support the
EFFECT_TYPE_EQUALIZERandEFFECT_TYPE_LOUDNESS_ENHANCERimplementations controllable through the AudioEffect subclassesEqualizer,LoudnessEnhancer. - [C-1-2] MUST support the visualizer API implementation, controllable through
the
Visualizerclass. - SHOULD support the
EFFECT_TYPE_BASS_BOOST,EFFECT_TYPE_ENV_REVERB,EFFECT_TYPE_PRESET_REVERB, andEFFECT_TYPE_VIRTUALIZERimplementations controllable through theAudioEffectsub-classesBassBoost,EnvironmentalReverb,PresetReverb, andVirtualizer.
5.5.3. Audio Output Volume
Television device implementations:
- [T-0-1] MUST include support for system Master Volume and digital audio output volume attenuation on supported outputs, except for compressed audio passthrough output (where no audio decoding is done on the device).
Automotive device implementations:
- SHOULD allow adjusting audio volume
separately per each audio stream using the content type or usage as defined
by AudioAttributes
and car audio usage as publicly defined in
android.car.CarAudioManager.