Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
71
int 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
StreamingCallback
Method · 0.80
AdjustMixStreamsRefCount
Method · 0.80
MixStreams
Method · 0.80
Calls
1
GetPos
Method · 0.45
Tested by
no test coverage detected