Android includes the support to allow apps to playback audio through the audio output peripheral as defined in section 7.8.2.
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
Android provides an API for audio effects for device implementations.
If device implementations declare the feature android.hardware.audio.output
, they:
EFFECT_TYPE_EQUALIZER
and EFFECT_TYPE_LOUDNESS_ENHANCER
implementations controllable through the AudioEffect subclasses Equalizer
, LoudnessEnhancer
.Visualizer
class.EFFECT_TYPE_BASS_BOOST
, EFFECT_TYPE_ENV_REVERB
, EFFECT_TYPE_PRESET_REVERB
, and EFFECT_TYPE_VIRTUALIZER
implementations controllable through the AudioEffect
sub-classes BassBoost
, EnvironmentalReverb
, PresetReverb
, and Virtualizer
.Television device implementations:
Automotive device implementations:
android.car.CarAudioManager
.