MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / currentSample

Method currentSample

source/core/StarAudio.cpp:621–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621uint64_t Audio::currentSample() const {
622 if (m_uncompressed)
623 return m_uncompressed->currentSample();
624 else
625 return m_compressed->currentSample();
626}
627
628size_t Audio::readPartial(int16_t* buffer, size_t bufferSize) {
629 if (bufferSize == 0)

Callers 1

StarAudio.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected