Matthieu Regnauld
2018-Nov-06 18:20 UTC
[Vorbis-dev] Decode ogg file while downloading: what are the good practices?
I'm making all my calls from the same thread, yes. Also, I'll try to reproduce the bug in a very basic C/C++ project, without using Android, so I can get a stacktrace (the only way to make vorbisfile work in Android was to compile it as a static library - as .a file - so I think that's why I can't get any stacktrace so far). If there is any working similar project, I'm interested. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/vorbis-dev/attachments/20181106/e1fba118/attachment.html>
Matthieu Regnauld
2018-Nov-06 20:11 UTC
[Vorbis-dev] Decode ogg file while downloading: what are the good practices?
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/vorbis-dev/attachments/20181106/98125160/attachment.html>
Matthieu Regnauld
2018-Nov-08 19:18 UTC
[Vorbis-dev] Decode ogg file while downloading: what are the good practices?
Hello, My bad, it seems that all my calls (seeking and extracting) didn't happen in the same thread. I finally manage to fix my bug. Thanks all for your precious help! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/vorbis-dev/attachments/20181108/e609385e/attachment.html>
Ralph Giles
2018-Nov-08 21:10 UTC
[Vorbis-dev] Decode ogg file while downloading: what are the good practices?
Glad you got it to work! -r On November 8, 2018 11:18:25 AM PST, Matthieu Regnauld <mregnauld at gmail.com> wrote:>Hello, > >My bad, it seems that all my calls (seeking and extracting) didn't >happen >in the same thread. > >I finally manage to fix my bug. > >Thanks all for your precious help!-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/vorbis-dev/attachments/20181108/a9b9cca5/attachment.html>