Juan Miguel Martín Muñoz
2011-Jul-19 07:13 UTC
[Vorbis-dev] ov_read error on macosx - SOLVED
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