Plays a sound source.
|factory ||The factory to create the reader for the sound source. |
|keep ||When keep is true the sound source will not be deleted but set to paused when its end has been reached. |
- Returns a handle with which the playback can be controlled. This is NULL if the sound couldn't be played back.
|AUD_Exception ||Thrown if there's an unexpected (from the device side) error during creation of the reader. |
Implemented in AUD_NULLDevice, AUD_SoftwareDevice, and AUD_OpenALDevice.