Supported Audio Formats
The Audio Player activity supports several audio formats built into the Android platform. Which specific formats are supported varies a bit between Android versions (and to a lesser extent also from one device to another).
Some of the supported formats include:
- .mp3 (up to 320 kbps)
- .ogg (Vorbis)
- .wav (8- and 16-bit linear PCM)
- .mp4, .m4a (up to 160 kbps)
- .mid, .xmf, etc. (MIDI Type 0 and 1)
- .aac (only on Android 3.1 and newer)
- .flac (only on Android 3.1 and newer)
See: Complete list of supported formats
Note that some formats are only supported on newer devices. You should always test your media files on one or more Android devices to ensure compatibility for your users.
The best format for compatibility with the widest range of Android devices is MP3 (mpeg-audio) with a bitrate of 192kbps or lower.
AAC+
Andromo uses the standard Android audio framework, which supports AAC+ audio if it's supported on the device. (Stock Android officially supports AAC-LC, HE-AAC and HE-AAC v2 in MP4 or M4A containers.)
However, the audio framework and codecs are not always consistent across all device models due to changes or omissions made by the device manufacturers. Some devices will play AAC, some will only play specific variations, and some won't play it at all. It depends how audio was implemented in the device firmware.
Some devices cannot stream specific AAC subtypes, even through they can be played locally.
Audio streams using AAC+SBR and PS (Progressive Stereo) in particular are not supported on most Android devices.