Re: ov_read error on macosx - SOLVED
Juan Miguel Martín Muñoz <[email protected]> Tue, 19 Jul 2011 09:13:47 +0200
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <CADN8KfS-TP8sUPDrrXc9Zh-nHx+62nU+81mRMgpTLoEH7rxmJA@mail.gmail.com> |
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 <[email protected]>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 <[email protected]>escribió: > > The only other thing that might have gone wrong is that instead of >> "unsigned" "signed" is to be used for the audio data. >> > > _______________________________________________ Vorbis-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/vorbis-dev