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

Class VorbisInfo

src/fl/codec/vorbis.h:16–26  ·  view source on GitHub ↗

Vorbis metadata information structure

Source from the content-addressed store, hash-verified

14
15// Vorbis metadata information structure
16struct VorbisInfo {
17 fl::u32 sampleRate = 0; // Sample rate in Hz
18 fl::u8 channels = 0; // Number of channels (1=mono, 2=stereo)
19 fl::u32 totalSamples = 0; // Total samples (0 if unknown/streaming)
20 fl::u32 maxFrameSize = 0; // Maximum frame size in samples
21 bool isValid = false; // True if metadata was successfully parsed
22
23 VorbisInfo() FL_NOEXCEPT = default;
24 VorbisInfo(fl::u32 rate, fl::u8 ch)
25 : sampleRate(rate), channels(ch), isValid(true) {}
26};
27
28// Forward declaration of internal implementation
29class VorbisDecoderImpl;

Callers 1

parseVorbisInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected