Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ seekSample
Method
seekSample
source/core/StarAudio.cpp:607–612 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
605
}
606
607
void Audio::seekSample(uint64_t pos) {
608
if (m_uncompressed)
609
m_uncompressed->seekSample(pos);
610
else
611
m_compressed->seekSample(pos);
612
}
613
614
double Audio::currentTime() const {
615
if (m_uncompressed)
Callers
1
read
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected