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

Function StreamGetSoundHandle

stream_audio/streamaudio.cpp:968–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966 User_audio_stream.Close();
967}
968int StreamGetSoundHandle(int handle) {
969 if (handle > -1) {
970 if (AudioStream::m_streams[handle])
971 return AudioStream::m_streams[handle]->GetSoundHandle();
972 else
973 return -1;
974 }
975 return -1;
976}

Callers 1

StartVoiceFunction · 0.85

Calls 1

GetSoundHandleMethod · 0.80

Tested by

no test coverage detected