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

Method uncompress

source/core/StarAudio.cpp:593–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593void Audio::uncompress() {
594 if (m_compressed) {
595 m_uncompressed = make_shared<UncompressedAudioImpl>(*m_compressed);
596 m_compressed.reset();
597 }
598}
599
600void Audio::seekTime(double time) {
601 if (m_uncompressed)

Callers 2

playbackMethod · 0.80
postProcessAudioMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected