MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / AbortLoading

Method AbortLoading

CrySoundSystem/SoundBuffer.cpp:312–320  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

310
311//////////////////////////////////////////////////////////////////////////
312void CSoundBuffer::AbortLoading()
313{
314 if (m_pReadStream!=NULL)
315 {
316 m_pReadStream->Abort();
317 m_pReadStream=NULL;
318 LoadFailed();
319 }
320}
321
322//////////////////////////////////////////////////////////////////////////
323void CSoundBuffer::DestroyData()

Callers 1

SetLoopModeMethod · 0.45

Calls 1

AbortMethod · 0.45

Tested by

no test coverage detected