Re: Decode ogg file while downloading: what are the good practices?
Matthieu Regnauld <[email protected]> Mon, 5 Nov 2018 21:17:50 +0100
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <CADjM6tCbCX7VwbLPe7Gv32Zyu22ZjWzNKzQ20rugWBq2ffYFqw@mail.gmail.com> |
--===============9191731688789496225== Content-Type: multipart/alternative; boundary="0000000000001b82880579f09327" --0000000000001b82880579f09327 Content-Type: text/plain; charset="UTF-8" I haven't managed yet to get any stacktrace, but I'll work on it (that's the problem using C/C++ code in an Android app...). Also, it's important to notice that I manage to make ov_read() crash, *even when the audio file is fully downloaded!* What I do to reproduce the bug is to call ov_pcm_seek() (without any reload of the file) many times in a row, very quickly (like 6-7 times per seconds, during a few seconds). So far, any idea how to fix that? Thanks. --0000000000001b82880579f09327 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I haven't managed yet to get any stacktrace, but I'= ;ll work on it (that's the problem using C/C++ code in an Android app..= .).<div><br></div><div>Also, it's important to notice that I manage to = make <font face=3D"monospace, monospace">ov_read()</font> crash, <u>even wh= en the audio file is fully downloaded!</u></div><div><br></div><div>What I = do to reproduce the bug is to call=C2=A0<span style=3D"font-family:monospac= e,monospace">ov_pcm_seek()</span>=C2=A0(without any reload of the file) man= y times in a row, very quickly (like 6-7 times per seconds, during a few se= conds).<br></div><div><br></div><div>So far, any idea how to fix that?</div= ><div><br></div><div>Thanks.</div><div><br></div><div><br></div><div><br></= div></div> --0000000000001b82880579f09327-- --===============9191731688789496225== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVm9yYmlzLWRl diBtYWlsaW5nIGxpc3QKVm9yYmlzLWRldkB4aXBoLm9yZwpodHRwOi8vbGlzdHMueGlwaC5vcmcv bWFpbG1hbi9saXN0aW5mby92b3JiaXMtZGV2Cg== --===============9191731688789496225==--