LinkIt supports playback of audio files in AMR, MP3 and AAC formats that are stored on an SD card or in the built-in flash memory. Output is through the earphone jack on a LinkIt board
The API provides features to play, pause and stop playback, as well as adjust volume.
Playback (decoding) is handled internally by LinkIt. Therefore, all functions are non-blocking, so when you call playFile(), it will play the audio and immediately return to your program. You can then use getStatus() to check the playback status.
If you try to play another audio file before the previous playback is finished, the previous playback will be stopped, and the new audio file played.
|
Class |
Description |
|
LAudio class interface |
|
Struct, Record, Enum |
Description |
|
Audio play status | |
|
Storage location |