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

Method LoadFailed

CrySoundSystem/SoundBuffer.cpp:157–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void CSoundBuffer::LoadFailed()
158{
159 m_pSoundSystem->GetSystem()->Warning( VALIDATOR_MODULE_SOUNDSYSTEM,VALIDATOR_WARNING,VALIDATOR_FLAG_SOUND,"Sound %s failed to load", m_Props.sName.c_str() );
160 m_pReadStream=NULL;
161
162 // broadcast OnBufferLoadFailed
163 CALLBACK_FUNC(OnBufferLoadFailed);
164/* m_bCallbackIteration=true;
165 int n;
166 for (TBufferLoadReqVecIt It=m_vecLoadReq.begin();It!=m_vecLoadReq.end();++It)
167 {
168 CSound *pSound=(*It);
169 pSound->OnBufferLoadFailed();
170 }
171 m_vecLoadReq.clear();
172 m_bCallbackIteration=false;
173 UpdateCallbacks();*/
174}
175
176void CSoundBuffer::RemoveFromLoadReqList(CSound *pSound)
177{

Callers

nothing calls this directly

Calls 3

WarningMethod · 0.45
GetSystemMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected