| 1341 | } |
| 1342 | #ifdef ALSOFT_EAX |
| 1343 | void 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 |
no test coverage detected