pub async fn read_ogg_vorbis_file<R: AsyncReadExt + Unpin>(
    reader: &mut R,
    tolerate: bool,
    header_search_range: usize,
) -> Result<Vec<OggVorbisPageResult>>
Expand description

Reads an Ogg Vorbis file asynchronously and parses its pages and packets.

§Arguments

  • reader - A mutable reference to an asynchronous reader implementing AsyncReadExt.
  • tolerate - A boolean indicating whether to tolerate errors and continue parsing.
  • header_search_range - The range within which to search for headers.

§Returns

A Result containing a vector of OggVorbisPageResult on success, or an io::Error on failure.