[Vorbis-dev] ov_read error on macosx - SOLVED
Juan Miguel Martín Muñoz
jmcubo at gmail.com
Tue Jul 19 00:13:47 PDT 2011
Hi!
I solved the problem using ov_read_float instead ov_read.
Still do not know why ov_read returned garbage, but ov_read_float 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
>> "unsigned" "signed" is to be used for the audio data.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20110719/0c790c82/attachment.htm
More information about the Vorbis-dev
mailing list