Displaying 2 results from an estimated 2 matches for "pdecodebuff".
Did you mean:
pdecodebuffer
2011 Jul 15
3
ov_read error on macosx
Hi, I have this code to decode ogg data:
unsigned long PSS_OggStream::DecodeOggVorbis(OggVorbis_File
*psOggVorbisFile, char *pDecodeBuffer, unsigned long ulBufferSize, unsigned
long ulChannels)
{
int current_section;
long lDecodeSize;
unsigned long ulSamples;
short *pSamples;
unsigned long ulBytesDone = 0;
while (true)
{
#ifdef WIN32
lDecodeSize = ov_read(psOggVorbisFile, pDecodeBuffer + ulBytesDone,
ulBufferSize -...
2011 Jul 19
0
ov_read error on macosx - SOLVED
...works
fine!
Thanks!
El 17 de julio de 2011 10:41, Juan Miguel Mart?n Mu?oz
<jmcubo at gmail.com>escribi?:
> Hi, thanks for your replies!
>
> ogg.k, I'm sure MACOSX is defined. When I'm debugging line by line the
> program runs into ov_read. But I'll try to memset 0 pDecodeBuffer before the
> call.
>
> Gunter, I'm using (signed) char * for pDecodeBuffer, is it right???
>
> El 17 de julio de 2011 09:52, Gunter K?nigsmann <gunter at peterpall.de>escribi?:
>
> The only other thing that might have gone wrong is that instead of
>> "uns...