Displaying 9 results from an estimated 9 matches for "ovfil".
Did you mean:
ovfile
2004 Feb 09
3
Problem with 'ov_open'...
...y 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 ideas why this is happenening? Here is my actual source.
FILE *SoundFile;
OggVorbis_File *OVFile;
if(SoundFile != NULL)
CloseOGG();
if((SoundFile = fopen(Filename, "rb")) == NULL)
return false;
if((ov_open(SoundFile, OVFile, NULL, 0)) < 0)
return false;
I've put debug messages that my log-class logs, and it logs everything just fine up to the ov_open() check, then n...
2005 Apr 03
3
Direct crash on ov_open
...#include "vorbis/codec.h"
#include "vorbis/vorbisfile.h"
#include <stdio.h>
#include <memory.h>
void main(void)
{
// Attempt to open the file
FILE *pFile = NULL;
pFile = fopen("C:\\IronDaimen.ogg","rb");
if (!pFile)
return;
OggVorbis_File ovFile;
memset(&ovFile,0,sizeof(ovFile));
int iRetval = 0;
iRetval = ov_open(pFile,&ovFile,NULL,0);
if (iRetval != 0)
{
fclose(pFile);
return;
}
}
I link against the ogg/vorbis DLLs (tried both debug and release ones).
This is really very frustrating... I tried several other files, b...
2003 Jan 05
2
VorbisFile library crashs.
Hello!
There is a problem with the VorbisFile library. It only works when I open an
OGG file for
the 1st time. After I closed the file and try to open another one or the
same it crashs. It seems it applies to the use of either ov_open or ov_test
functions or their combination.
I wrote a test app that illustrates the bug. It crashs with a message
"Unmapped memory exception". It's
2001 Nov 11
1
Reading tags (again)...
...t
how to write them. Here's the code that I'm using. It's a fine C/C++ mix.
The code will eventually be in a C++ app, so I don't mind throwing in some
C++'isms.
===
#include <iostream.h>
#include <vorbis/vorbisfile.h>
int main()
{
FILE *fp;
OggVorbis_File *ovFile;
vorbis_comment *ovComment;
// ovFile=malloc(sizeof(OggVorbis_File));
ovFile=new OggVorbis_File;
fp=fopen("foo.ogg","rw");
ov_open(fp,ovFile,NULL,0);
ovComment=ov_comment(ovFile,-1);
if(ovComment->user_comments)
{
printf("has comments - %i\...
2005 Apr 03
0
Direct crash on ov_open
...#include "vorbis/codec.h"
#include "vorbis/vorbisfile.h"
#include <stdio.h>
#include <memory.h>
void main(void)
{
// Attempt to open the file
FILE *pFile = NULL;
pFile = fopen("C:\\IronDaimen.ogg","rb");
if (!pFile)
return;
OggVorbis_File ovFile;
memset(&ovFile,0,sizeof(ovFile));
int iRetval = 0;
iRetval = ov_open(pFile,&ovFile,NULL,0);
if (iRetval != 0)
{
fclose(pFile);
return;
}
}
Platform Info:
Win32, Visual Studio.Net 2003. The app above is a Win32 console application,
which uses Single Threaded Static linkage to...
2009 Jun 04
0
ogg audio streaming problem
...gth in samples is initialized by
callbacks.read_func = &oggReadCallback;
callbacks.seek_func = &oggSeekCallback;
callbacks.close_func = &oggCloseCallback;
callbacks.tell_func = &oggTellCallback;
const int err = ov_open_callbacks (input, &ovFile, 0, 0, callbacks);
lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1);
input is the file stream.
The first chunk data is played excellent, however, after that , it gives me
static noise.
I debugged the decoder, and it seems that the ogg pattern is not decoded
right in this case.
In vo...
2009 Jun 04
1
ogg audio streaming problem
...gth in samples is initialized by
callbacks.read_func = &oggReadCallback;
callbacks.seek_func = &oggSeekCallback;
callbacks.close_func = &oggCloseCallback;
callbacks.tell_func = &oggTellCallback;
const int err = ov_open_callbacks (input, &ovFile, 0, 0, callbacks);
lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1);
input is the file stream.
The first chunk data is played excellent, however, after that , it gives me
static noise.
I debugged the decoder, and it seems that the ogg pattern is not decoded
right in this case.
In vo...
2002 Dec 19
1
Re: [xiph-cvs] cvs commit: vorbis/doc/xml 01-introduction.xml
On Thursday, December 19, 2002, at 06:10 am, Monty wrote:
> Het rillian: How to get HTML output from the XML in order to roll
> changes back to the website? Or do you plan to replace the HTML
> on-site too?
Sorry, I got distracted before I finished everything. If you have the
tools installed (xsltproc, passivetex) 'make' should generate
monolithic pdf and html
2004 Feb 11
1
Problem using 'ov_open()'...
...truct tagSOUNDDATA
{
char *Buffer;
int Channels, Length, Frequency;
} sSOUNDDATA, *pSOUNDDATA;
class OGGDATA
{
public:
OGGDATA();
~OGGDATA();
bool OpenOGG(char*);
pSOUNDDATA DecodeOGGLow();
void CloseOGG(pSOUNDDATA);
private:
FILE *pFile;
OggVorbis_File *pOVFile;
};
OGGDATA::OGGDATA()
{
pFile = NULL;
pOVFile = NULL;
}
OGGDATA::~OGGDATA()
{
if(pOVFile != NULL)
ov_clear(pOVFile);
if(pFile != NULL)
fclose(pFile);
}
bool OGGDATA::OpenOGG(char *Filename)
{
int Result;
if(pOVFile != NULL)
ov_clear(pOVFile);
if(pFile !...