MCPcopy Create free account
hub / github.com/crownengine/crown / GetSourceState

Function GetSourceState

3rdparty/openal/al/source.cpp:479–484  ·  view source on GitHub ↗

* Returns an updated source state using the matching voice's status (or lack * thereof). */

Source from the content-addressed store, hash-verified

477 * thereof).
478 */
479inline ALenum GetSourceState(ALsource *source, ALvoice *voice)
480{
481 if(!voice && source->state == AL_PLAYING)
482 source->state = AL_STOPPED;
483 return source->state;
484}
485
486/**
487 * Returns if the source should specify an update, given the context's

Callers 3

SetSourceivFunction · 0.85
GetSourceivFunction · 0.85
source.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected