MCPcopy Create free account
hub / github.com/axmolengine/axmol / CommitAndUpdateSourceProps

Function CommitAndUpdateSourceProps

3rdparty/openal/al/source.cpp:1343–1356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342#ifdef ALSOFT_EAX
1343void CommitAndUpdateSourceProps(ALsource *source, ALCcontext *context)
1344{
1345 if(!context->mDeferUpdates)
1346 {
1347 if(context->hasEax())
1348 source->eaxCommit();
1349 if(Voice *voice{GetSourceVoice(source, context)})
1350 {
1351 UpdateSourceProps(source, voice, context);
1352 return;
1353 }
1354 }
1355 source->mPropsDirty = true;
1356}
1357
1358#else
1359

Callers 1

SetPropertyFunction · 0.85

Calls 4

GetSourceVoiceFunction · 0.85
UpdateSourcePropsFunction · 0.85
hasEaxMethod · 0.80
eaxCommitMethod · 0.45

Tested by

no test coverage detected