audio/source.h

Includes from this file:

Declarations in this file:

Data members in SGAudioSource

dispatch
Pointer to the dispatch.
priority
\brief Priority of the source.

Data members in SGAudioSourceDispatch

handle
< The source that this dispatch handles.
source

Functions

_sgAudioSourceGetFreeDispatch
_sgAudioSourceInit
sgAudioSourceCreate
\brief Create an audio source.
sgAudioSourceGetPosition2f
...
sgAudioSourceGetPosition3f
...
sgAudioSourceQueueBuffer
\brief Queue a single buffer into a source \param source The source into which the buffer should be queued \param buffer The buffer to queue This function queues a \a buffer into \a source.
sgAudioSourceQueueBuffers
\brief Queue multiple buffers into a source \param source The source into which the buffers should be queued \param buffers The buffers to queue \param numbuffers How many buffers to queue This function queues \a numbuffers buffers into \a source.
sgAudioSourceSetLooping
\brief Set the source in (or out of) a loop \param source The source which we want to loop (or stop looping) \param[in] looping The looping to set Pitch 1.0 leaves the buffer to play as it is in the "original".
sgAudioSourceSetPitch
\brief Set the pitch \param source The source which we want to set the pitch of \param[in] pitch The pitch to set Pitch 1.0 leaves the buffer to play as it is in the "original".
sgAudioSourceSetPosition2f
...
sgAudioSourceSetPosition3f
...
sgAudioSourceUnqueueBuffers

Structs

SGAudioSource

Typedefs

SGAudioSourceDispatch