MCPcopy 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
607void Audio::seekSample(uint64_t pos) {
608 if (m_uncompressed)
609 m_uncompressed->seekSample(pos);
610 else
611 m_compressed->seekSample(pos);
612}
613
614double Audio::currentTime() const {
615 if (m_uncompressed)

Callers 1

readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected