MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / Shutdown

Method Shutdown

stream_audio/streamaudio.cpp:197–209  ·  view source on GitHub ↗

shutdsown

Source from the content-addressed store, hash-verified

195}
196// shutdsown
197void AudioStream::Shutdown() {
198 if (AudioStream::m_ll_sndsys) {
199 int i;
200 // stop all streams.
201 for (i = 0; i < STRM_LIMIT; i++) {
202 if (AudioStream::m_streams[i]) {
203 AudioStream::m_streams[i]->Close();
204 AudioStream::m_streams[i] = NULL;
205 }
206 }
207 AudioStream::m_ll_sndsys = NULL;
208 }
209}
210// allocates a stream slot for a stream
211bool AudioStream::ActivateStream(AudioStream *stream) {
212 int i;

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected