FastLED 3.9.15
Loading...
Searching...
No Matches

◆ start_packet()

static int32_t fl::third_party::vorbis::start_packet ( vorb * f)
static

Definition at line 1231 of file stb_vorbis.cpp.hpp.

1232{
1233 while (f->next_seg == -1) {
1234 if (!start_page(f)) return false;
1237 }
1238 f->last_seg = false;
1239 f->valid_bits = 0;
1240 f->packet_bytes = 0;
1241 f->bytes_in_seg = 0;
1242 // f->next_seg is now valid
1243 return true;
1244}
static int32_t start_page(vorb *f) FL_NOEXCEPT
static int32_t error(vorb *f, enum STBVorbisError e) FL_NOEXCEPT
static constexpr uint8_t PAGEFLAG_continued_packet

References error(), FL_NOEXCEPT, PAGEFLAG_continued_packet, start_page(), and VORBIS_continued_packet_flag_invalid.

Referenced by maybe_start_packet(), and start_decoder().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: