Hi I'm new with ogg and also with using third party libraries. I'm making a C++ PocketPC program and I need a simple wav->ogg encoder function. But as I have tried to use ogg vorbis libraries I don't know what or how to use them. I think that best way would be to use libogg 1.1.3 and libvorbis 1.1.2. Do I even need both of them, since I only need to have capability of encoding? (I have FMOD for everything else.) I have tried to make some dlls and libs out of them with Visual Studio 2005, but no success. Would it be possible to copy and include .c and .h files directly from lib folder to my project? If so then how and what files do I need? I have also downloaded oggvorbis-win32sdk-1.0.1 and I was even able to build encoder_example.c successfully with the help of this. But the dlls in sdk are rather big for pocket pc and just for encoding. Please tell me what I should do. -Jere-
On Fri, Jun 09, 2006 at 08:00:44PM +0300, Jere Malinen wrote:> I think that best way would be to use libogg 1.1.3 and libvorbis 1.1.2. Do > I even need both of them, since I only need to have capability of > encoding?Yes, you need both of them. libvorbis will encode the raw audio to vorbis, but you need libogg to pack that into an ogg file for streaming or storage.> (I have FMOD for everything else.) I have tried to make some > dlls and libs out of them with Visual Studio 2005, but no success. Would > it be possible to copy and include .c and .h files directly from lib > folder to my project? If so then how and what files do I need?Makefile.am in the library source directories have the list of files you need. It's a little confusing to read at first; look for the _SOURCES lines. There are also VS2005 project files in the svn version; you might try those. Unfortunately, I don't know anything about MSVC so I can't help you with the details. Perhaps one of our windows developers can be of more assistance. FWIW, -r
Hi Jere, http://www.annodex.net/software/libfishsound/html/group__decode.html libfishsound and liboggz are wrapper libraries for libogg and libvorbis. They both have a callback-based API and documentation, so are somewhat more straightforward to use. You can build libfishsound with decoding disabled. hope that helps, Conrad. On Fri, Jun 09, 2006 at 08:00:44PM +0300, Jere Malinen wrote:> Hi > > I'm new with ogg and also with using third party libraries. I'm making a > C++ PocketPC program and I need a simple wav->ogg encoder function. But as > I have tried to use ogg vorbis libraries I don't know what or how to use > them. > > I think that best way would be to use libogg 1.1.3 and libvorbis 1.1.2. Do > I even need both of them, since I only need to have capability of > encoding? (I have FMOD for everything else.) I have tried to make some > dlls and libs out of them with Visual Studio 2005, but no success. Would > it be possible to copy and include .c and .h files directly from lib > folder to my project? If so then how and what files do I need? > > I have also downloaded oggvorbis-win32sdk-1.0.1 and I was even able to > build encoder_example.c successfully with the help of this. But the dlls > in sdk are rather big for pocket pc and just for encoding. > > Please tell me what I should do. > > -Jere- > _______________________________________________ > Vorbis-dev mailing list > Vorbis-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis-dev
Hi! I don't think you will be able to encode vorbis with a pda - the library uses floating point extensively. p?ntek 09 j?nius 2006 19.00-kor Jere Malinen ezeket a bolcs gondolatokat fogalmazta meg:> Hi > > I'm new with ogg and also with using third party libraries. I'm making a > C++ PocketPC program and I need a simple wav->ogg encoder function. But as > I have tried to use ogg vorbis libraries I don't know what or how to use > them.> > Please tell me what I should do. > > -Jere-bye Denes -- --- What kills me, doesn't make me stronger.