| 137 | } |
| 138 | |
| 139 | void Bus::findBusHandle() |
| 140 | { |
| 141 | if (mChannelHandle == 0) |
| 142 | { |
| 143 | // Find the channel the bus is playing on to calculate handle.. |
| 144 | int i; |
| 145 | for (i = 0; mChannelHandle == 0 && i < (signed)mSoloud->mHighestVoice; i++) |
| 146 | { |
| 147 | if (mSoloud->mVoice[i] == mInstance) |
| 148 | { |
| 149 | mChannelHandle = mSoloud->getHandleFromVoice(i); |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | handle Bus::play(AudioSource &aSound, float aVolume, float aPan, bool aPaused) |
| 156 | { |
nothing calls this directly
no test coverage detected