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

Method DeactivateStream

stream_audio/streamaudio.cpp:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 return false;
222}
223void AudioStream::DeactivateStream(AudioStream *stream) {
224 if (stream->m_streamindex > -1) {
225 AudioStream::m_streams[stream->m_streamindex] = NULL;
226 stream->m_streamindex = -1;
227 }
228}
229// called by application to allow stream playback
230void AudioStream::Frame() {
231 int t;

Callers 1

FrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected