Re: Decode ogg file while downloading: what are the good practices?

Matthieu Regnauld <[email protected]> Tue, 6 Nov 2018 21:11:44 +0100
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <CADjM6tD3f+BA1jA2pJq5+hZhwc90Mz9RhAUhf=a2iqOXEk_Y0w@mail.gmail.com>
--===============4851550192105481551==
Content-Type: multipart/alternative; boundary="00000000000004ac8c057a049d81"

--00000000000004ac8c057a049d81
Content-Type: text/plain; charset="UTF-8"

Hello,

Sorry to ask you that, but how can I compile a simple project using
libogg/libvorbis?

I try to follow the explanations given in the Github project (
https://github.com/xiph/vorbis), and, for example, compile and test one of
the examples files (for example:
https://github.com/xiph/vorbis/blob/master/examples/decoder_example.c), but
since I'm not an expert in C/C++, I don't know how to proceed.

The main goal of this is to be able to compile and test this C++ class (so
I can get a full stacktrace when I make ov_open() crash):
https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072

Also, I can make this sample project in Windows 10 or Ubuntu 16.04.5.

Thank you very much for your help.

--00000000000004ac8c057a049d81
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hello,<=
div><br></div><div>Sorry to ask you that, but how can I compile a simple pr=
oject using libogg/libvorbis?</div><div><br></div><div>I try to follow the =
explanations given in the Github project (<a href=3D"https://github.com/xip=
h/vorbis">https://github.com/xiph/vorbis</a>), and, for example, compile an=
d test one of the examples files (for example:=C2=A0<a href=3D"https://gith=
ub.com/xiph/vorbis/blob/master/examples/decoder_example.c">https://github.c=
om/xiph/vorbis/blob/master/examples/decoder_example.c</a>), but since I&#39=
;m not an expert in C/C++, I don&#39;t know how to proceed.</div><div><br><=
/div><div>The main goal of this is to be able to compile and test this C++ =
class (so I can get a full stacktrace when I make <font face=3D"monospace, =
monospace">ov_open()</font> crash):=C2=A0<a href=3D"https://gist.github.com=
/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072">https://gist.github.com/mregna=
uld/3f7cdc43b02ec3bbd91641b9333ba072</a></div><div><br></div><div>Also, I c=
an make this sample project in Windows 10 or Ubuntu 16.04.5.</div><div><br>=
</div><div>Thank you very much for your help.</div><div><br></div></div></d=
iv></div></div>

--00000000000004ac8c057a049d81--

--===============4851550192105481551==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVm9yYmlzLWRl
diBtYWlsaW5nIGxpc3QKVm9yYmlzLWRldkB4aXBoLm9yZwpodHRwOi8vbGlzdHMueGlwaC5vcmcv
bWFpbG1hbi9saXN0aW5mby92b3JiaXMtZGV2Cg==

--===============4851550192105481551==--