GAUDIO

From uGFX Wiki
Revision as of 22:47, 3 July 2014 by Tectu (Talk | contribs) (Play back)

Jump to: navigation, search

The GAUDIO module provides high level API for handling audio in- and output.

API reference

The API reference of the GAUDIO module can be found here.

Play back

Before any audio can be played, the audio device has to be initialized using gaudioPlayInit(). Both, the sample format and the sample frequency are set by this function call.

External decoder

If your audio output devices does have an internal processor to decode audio formats, use GAUDIO_PLAY_FORMAT_FILE as the third parameter for gaudioPlayInit(). The GAUDIO module will simply pass the audio data unmodified to the audio device.

Record

ToDo