MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / stop

Method stop

src/Sound.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void 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
119const Uint8 * Sound::getData() const
120{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected