ov_open_callbacks |
![]() ![]() |
ov_open_callbacks |
Sep 20 2008, 08:19
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 20-September 08 Member No.: 58467 |
I ran into a problem I find hard to understand.
To make my application read files from memory I thought it would be suitable to use ov_open_callbacks instead of ov_open (wich is limited to files stored on the harddis - and not in a packer form example). But I found that when I used that logic, the ov_open_callback function would give me a OV_ENOTVORBIS error code, although the very same file worked fine under ov_open. I checked the buffer length, that was ok. This post has been edited by MB2: Sep 20 2008, 08:19 |
|
|
|
Sep 22 2008, 15:12
Post
#2
|
|
![]() Group: Members Posts: 68 Joined: 26-July 05 From: Portugal Member No.: 23539 |
I recommend that you look for help in the vorbis-dev mailing list at xiph.org. Best of luck.
-------------------- Join //spreadopenmedia.org to promote Vorbis, FLAC, Speex, etc
|
|
|
|
Sep 22 2008, 15:22
Post
#3
|
|
![]() Group: FB2K Moderator Posts: 2359 Joined: 30-November 07 Member No.: 49158 |
The source code is open, nothing is stopping you from debugging why you get OV_ENOTVORBIS back yourself. Or don't programmers work like that anymore nowadays?
-------------------- Full-quoting makes you scroll past the same junk over and over.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 16:23 |