| 148 | } |
| 149 | |
| 150 | bool Queue::isCurrentlyPlaying(AudioSource &aSound) |
| 151 | { |
| 152 | if (mCount == 0 || aSound.mAudioSourceID == 0) |
| 153 | return false; |
| 154 | mSoloud->lockAudioMutex(); |
| 155 | bool res = mSource[mReadIndex]->mAudioSourceID == aSound.mAudioSourceID; |
| 156 | mSoloud->unlockAudioMutex(); |
| 157 | return res; |
| 158 | } |
| 159 | |
| 160 | result Queue::setParamsFromAudioSource(AudioSource &aSound) |
| 161 | { |
nothing calls this directly
no test coverage detected