Expand description
Reader for the Ogg Opus stream an audio sink serves: pages are taken as they arrive
and split into packets, a packet continued across pages reassembled. The first packet
is the OpusHead the audio track is declared from; every later packet comes with the
page’s granule position, the 48 kHz sample count at the end of the last packet the
page completes, which is the recorder’s audio clock.
Structs§
- Opus
Head - What
OpusHeaddeclares;mappingholds the stream count, coupled count, and channel table for channel mapping family 1 and is empty for family 0. - Page
Reader - Splits an Ogg stream into packets.