| 108 | } |
| 109 | |
| 110 | void Sound::stop() |
| 111 | { |
| 112 | //flag our sample as playing and rewind its position |
| 113 | SDL_LockAudio(); |
| 114 | playing = false; |
| 115 | mSamplePos = 0; |
| 116 | SDL_UnlockAudio(); |
| 117 | } |
| 118 | |
| 119 | const Uint8 * Sound::getData() const |
| 120 | { |
nothing calls this directly
no outgoing calls
no test coverage detected