[vorbis-dev] Problems trying to run the examples in windows v orbis sdk

Pablos-Sanchez, Rolando Rolando_Pablos-Sanchez at hplb.hpl.hp.com
Wed Sep 5 06:20:19 PDT 2001



I have included vorbisenc.c in the vorbis DLL, and it is true that it
compiles and codes.
But now I have tried to decode and I got: "Input does not appear to be an
Ogg bitstream."
I have also vorbis for Linux, and both the encoder and decoder work. I can
even decode in windows a file encoded with the Linux encoder.
So there must be a problem in the windows encoder.  I don't know whether it
is because of moving the vorbisenc.c to vobis project or it just the coding
process in windows.

Thanks.

-----Original Message-----
From: Chris Wolf [mailto:cwolf at starclass.com]
Sent: 05 September 2001 10:12
To: vorbis-dev at xiph.org
Subject: Re: [vorbis-dev] Problems trying to run the examples in windows
vorbis sdk

The work around for this problem is to include vorbisenc.c in the vorbis DLL
and not have a
separate, stand alone vorbisenc.dll.  If you do this, then this problem
disappears.  Obviously,
since the vorbisenc code is quite large, and a lot of applications will only
be decoding, this
is not a permenent solution.

This may have to do with how global data is treated in DLLs, which is that
each client gets a 
fresh instance of the global data.  The problem seems to be accessing
_time_P accross DLLs
(vorbisenc.dll accessing _time_P in vorbis.dll)  I'm thinking of trying a
named data segment.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list