Deferred play: marks wave for playing on next Commit()
| 849 | alSourcef(_alSource, AL_ROLLOFF_FACTOR, 1.f); |
| 850 | } |
| 851 | else |
| 852 | { |
| 853 | alSourcei(_alSource, AL_SOURCE_RELATIVE, AL_TRUE); |
| 854 | alSource3f(_alSource, AL_POSITION, 0.f, 0.f, 0.f); |
| 855 | alSource3f(_alSource, AL_VELOCITY, 0.f, 0.f, 0.f); |
| 856 | } |
| 857 | } |
| 858 | |
| 859 | // Deferred play: marks wave for playing on next Commit() |
| 860 | void WaveOAL::Play() |
| 861 | { |
| 862 | if (_queued) |
| 863 | return; // Waiting for predecessor in Queue() chain — see WaveOAL.hpp |
| 864 | if (_state.terminated) |
| 865 | return; |
no outgoing calls
no test coverage detected