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

Method GetSamplesToEnd

CrySoundSystem/MusicPatternInstance.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71int CMusicPatternInstance::GetSamplesToEnd()
72{
73 if (m_pDecoderInstance != NULL && m_pPattern != NULL)
74 return m_pPattern->m_nSamples - m_pDecoderInstance->GetPos();
75 return -1;
76}

Callers 3

StreamingCallbackMethod · 0.80
MixStreamsMethod · 0.80

Calls 1

GetPosMethod · 0.45

Tested by

no test coverage detected