MCPcopy Create free account
hub / github.com/assaultcube/AC / sourcerelative

Method sourcerelative

source/src/openal.cpp:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177bool source::sourcerelative(bool enable)
178{
179 alclearerr();
180 alSourcei(id, AL_SOURCE_RELATIVE, enable ? AL_TRUE : AL_FALSE);
181 return !ALERR;
182}
183
184int source::state()
185{

Callers 2

oggstreamMethod · 0.80
evaluateworldobjrefMethod · 0.80

Calls 1

alclearerrFunction · 0.85

Tested by

no test coverage detected