bool EmbedSoundInst::eof() const { // it isn't threaded, but just in case, we call decodingCompleted first // and we also check loopCount... (over paranoid?) return ((decodingCompleted() || reachedCustomEnd()) && !loopCount && !decodedSamplesAhead()); }
bool StreamingSound::eof() const { // it isn't threaded, but just in case, we call decodingCompleted first return (decodingCompleted() && !decodedSamplesAhead()); }