MCPcopy Create free account
hub / github.com/FastLED/FastLED / reset

Method reset

src/fl/codec/vorbis.cpp.hpp:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void VorbisDecoderImpl::reset() {
237 if (mDecoder.isOpen()) {
238 mDecoder.seek(0);
239 mPosition = 0;
240 mEndOfStream = false;
241 }
242}
243
244// VorbisDecoder public implementation
245VorbisDecoder::VorbisDecoder() : mImpl(fl::make_unique<VorbisDecoderImpl>()) {}

Callers

nothing calls this directly

Calls 2

isOpenMethod · 0.80
seekMethod · 0.45

Tested by

no test coverage detected