similar to: Reading from memory and ov_open

Displaying 20 results from an estimated 4000 matches similar to: "Reading from memory and ov_open"

2005 Apr 03
3
Direct crash on ov_open
Greetings, I've just downloaded the Ogg/Vorbis Win32 SDK 'OggVorbis-win32sdk-1.0.1.zip' and made a test app to open an ogg file. But as soon as I call ov_open() the program crashes because of an access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h"
2002 Aug 01
1
ov_raw_seek doesn't work ?
I found a problem with ov_raw_seek function in oggvorbis win32sdk 1.0. When i called this function it returned OV_EINVAL immediatelly. I solved the issue by replacing the ov_raw_seek by ov_pcm_seek, which worked perfectly, but i would like to use the raw variant due to performace reason . Is anybody aware of this strange behaviour ? Martin Cesky <p><p>--- >8 ---- List
2004 Apr 06
1
ov_open fails on Version 1.0.1
Hi, I've just got around to moving from version 1.0 to 1.0.1. Now when I run my program, at least on Windoze, (haven't tried Linux yet), I get an Access Exception on the ov_open. Nothing else has changed. All I did was replace the lib and dll files that are in the win32sdk zip and re-build all, so it's the same the project files for for both builds. Here the snippet of code that
2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing. If I pass fopen a
2003 Feb 27
1
ov_open from memory
Hi folks, i would like to know if it is valid to load a whole .ogg file into memory and call ov_open like this: ov_open(NULL, &OggVorbisFile, pRawData, RawDataLen); An other question is, is it valid to copy some ogg files into one (resource) file, position the filehandle and use ov_read to read only the ogg file which starts at the current position of the file handle? (In other words, does
2001 Feb 18
2
Access Violation in ov_open
If I do something similar to the below ov_open always causes an access violation. The call to fopen is successful. Can anybody tell me why? (and how to fix it?) OggVorbis_File vf; int eof=0; int current_section; FILE *fd = fopen("c:\\test.ogg","rb"); if (!fd){ AfxTrace("fopen failed\n"); exit(0); } if(ov_open(fd, &vf, NULL, 0) < 0) {
2005 Apr 03
0
Direct crash on ov_open
Greetings, I've just downloaded the Ogg/Vorbis Win32 SDK 'OggVorbis-win32sdk-1.0.1.zip' and made a test app to open an ogg file. But as soon as I call ov_open() the program crashes because of an access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h"
2004 Mar 06
3
access violation in ov_open using VC6
I passed a valid FILE* (from fopen() with "rb") and the address of an OggVorbis_File struct, but an access violation occured when ov_open is called. I have enabled the Multithreaded, but it still doesn't fix the problem. I look at the vorbis_comment.exe source and I see vcedit_open() function and other vcedit_*() functions everywhere. I am assuming that there is known issue with VC
2004 Dec 26
2
Re: Win32 project files for libshout
Hi, Thanks for provoding the snapshot. Now it refers to following folders which are not included in the package! ../../pthreads ../../oggvorbis-win32sdk-1.0.1/include 1) Can I use http://svn.xiph.org/trunk/ogg insted of oggvorbis-win32sdk-1.0.1? 2) Where do I get pthreads? 3) Is svn for libshout available for public read access? Where? - Altu Faltu ----- Original Message ----- > >
2004 Dec 05
1
ov_open error !
#include <stdio.h> #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" #include <io.h> #include <fcntl.h> #pragma comment(lib, "vorbisfile_d") int main(int argc, char **argv) { FILE *fp; OggVorbis_File obf; if(argc < 1) return -1; if((fp = fopen("f:\\testogg.ogg", "rb")) == NULL) { printf("Open Files
2004 Feb 09
3
Problem with 'ov_open'...
Hey, I've coded an OGG player for Win32 (it uses AL for playback so it's portable to Linux/Mac), but every time the program gets to the 'ov_open()' function, the app completely freezes, and I have to use the task-manager to kill it. I am supplying it with a valid file handle that was just opened (FILE*) and the vorbis file is also a pointer that is not in use (set to null). Any
2003 Oct 01
1
win32sdk-1.0.1
If you are after a 1.0.1 SDK built in the same format as 1.0, and if the current CVS is firm for the release, then you can download the SDK from: http://homepage.ntlworld.com/jfe1205/OggVorbis-win32sdk-1.0.1.zip This is built from the current CVS using MSVC++6 SP5. If this helps speed up the release, great, otherwise, no problem, it kept me amused for a few minutes!! John <p>--- >8
2004 Feb 19
3
Ov_open crash in windows
I am getting the following error from MSVC when calling ov_open() from my app: Unhandled exception in Progname.exe (KERNEL32.DLL): 0xC0000005: Access Violation The call stack shows: KERNEL32! bff7b9a6() VORBISFILE! 00471d1d() I am running Win98 and v1.0 off the vorbis libs. The app is single- threaded. The following code works just fine in a test app I built, but when I add it to another
2002 Dec 27
1
ov_open throws exception (Compiler VC7)
Hi I try to load an ogg file with the vorbisfile library like this: FILE *f = fopen("test.ogg", "rb"); if(!f) ...; ov_open(f, &vf, 0, 0); But ov_open always throws an exception. Im pretty sure its a compiler problem because the same code worked on VC6. Im compiling my programm with the multithreaded dll option as mentioned on the mailing list bevor. Does anybody know if
2005 Jun 17
1
ov_open fails on Version 1.0.1
Eddie, I have been reviewing vorbis list postings, because I have been spinning my wheels for a week, trying to make a simple insertion of ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program. I just read your thread from April 2004. Question: Do you have anything you could send me, since I assume you succeeded in getting results? And/or could you take a look at what I
2003 Nov 16
1
win32 SDK call for help
Ok, so I've taken hold of this, and since this appears to be the only thing holding up 1.0.1, I have done what I think closes the loop...Based on the conversations here on the list I have made the following changes to the vc6 project files : - consistent runtime linking. They are ALL now using the Multithreaded static runtime. Hopefully this makes the generated DLLs the most portable. -
2000 Nov 29
1
ov_read() reading too little.
Hi, I've ditched the idea of calling the oggvorbis .dlls, and I'm compiling the 1.0beta3 source into my own dll. After opening as "rb" instead of "r", the ov_open() call works. However, ov_read() seems to consistently read less data than I ask for. My buffer is enough to hold two seconds of data, 16 bit 44k mono, that's 176400 bytes. The first call to ov_read()
2002 Dec 09
2
ov_open/ov_test weirdness
Hi, I've been playing with a little player, and it seems I can't ov_open a file twice? heres a snipit... <p>#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <vorbis/vorbisfile.h> OggVorbis_File vf; FILE *f = NULL; int main(int argc, char **argv) { char *file = NULL; int err = 0; if(argc < 2) {
2001 Sep 25
2
Couple more problems (ov_open_callbacks)
I'm in the final throes of debugging (hopefully) and the last thing I'm trying to do is figure out why I'm getting static instead of usable data. I have a verified Ogg file (it plays fine in WMA); I've visibly inspected the info struct and it matches my output format; I've verified my audio playback code by using a generated sine wave (sounds correct). So that leads to a
2004 Apr 21
3
Streaming ogg from filepointer pointing to archive of many oggs. Ogg stream does not stop after end of one ogg file - what to do ?
Hello, I'm currently trying to implement streaming off ogg-files out of an archive file using SDL and SDL_mixer for playback. Therefore i create a FILE * filepointer, place it to the beginning of an ogg file inside the archive and hand over the filepointer to ov_open. ( command: ov_open(fp, &music->vf, NULL, 0) ). This works fine so far. The problem is: if i put many oggs together in