MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / IsReady

Method IsReady

stream_audio/streamaudio.cpp:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427// are we still reading from disk?
428bool AudioStream::ReadAhead() { return m_readahead; }
429bool AudioStream::IsReady() {
430 if (m_state == STRM_STOPPED) {
431 if (!m_readahead || m_fbufidx == (STRM_BUFCOUNT - 1)) {
432 return true;
433 }
434 }
435 return false;
436}
437//////////////////////////////////////////////////////////////////////////////
438bool AudioStream::ReopenDigitalStream(uint8_t fbufidx, int nbufs) {
439 const tOSFDigiHdr *digihdr = (const tOSFDigiHdr *)m_archive.StreamHeader();

Callers 1

ExecScriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected