* Returns an updated source state using the matching voice's status (or lack * thereof). */
| 477 | * thereof). |
| 478 | */ |
| 479 | inline 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 |
no outgoing calls
no test coverage detected