[Vorbis-dev] Decode ogg file while downloading: what are the good practices?

Ralph Giles giles at thaumas.net
Mon Nov 5 15:13:26 UTC 2018


On 2018-11-05 12:55 AM, Matthieu Regnauld wrote:

>  > Is the overhead of closing and re-opening the handle significant on 
> android?
> 
> Not that much: I can close, reopen and seek in a file right before 
> extracting samples to play a second audio file, while a first file is 
> already extracting and playing, without any glitch, even on low-end device.

That's probably easiest, then. You can track when the download completes 
and skip the re-opening after that.

  -r



More information about the Vorbis-dev mailing list