Vorbis metadata information structure
| 14 | |
| 15 | // Vorbis metadata information structure |
| 16 | struct 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 |
| 29 | class VorbisDecoderImpl; |