Hi I am in the process of porting the Ogg Vorbis libraries and player(s) to Symbian OS (EPOC32) which runs on Psion machines and Nokia 9210 to name some machines. They are all using an ARM core. I managed to successfully recompile libogg, libvorbis and libvorbisfile with only minor modifications. They include: * removal of static data, which is not supported by EPOC DLLs. All lookup tables are now 'const static' * minor OS dependant changes (#ifdefs) After the libraries were successfull compiled, I started porting the ogg123 console app but gave up since it depends on various things I dont have like libcurl and libpthreads. So I took vorbisfile_example.c and wrote a simple player with that. It runs on a Psion netBook but what I can hear is not music - just some random repeated noise. I have tried to experiment with word size (1 or 2), signed or unsigned and endianess, but it does not make a difference. The compiler I use is gcc cross compiling for ARM, [alfredh@dingo er5cpp]$ arm-pe-gcc -v gcc driver version cygnus-2.7.2-960323 (Psion GCC tools v113 05/03/1997) executing gcc version cygnus-2.7.2-960323 I am going to try a more recent version later. But I am not giving up yet, I have only spent two days on this so far. The changes in the libraries are possible to compile for Linux and I have tested ogg123 (on Linux) with the modified libraries which works fine. If someone could give me a hint to e.g. some extra compiler flags or compile switches I could use, misconfiguration etc. I would be happy to hear from you. The base version is 1.0rc3. thanks <p>/alfred <p> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Ogg on Epoc.... very interesting. Just a quick thought/comment. Have you tried the example code in the libvorbis tree? This can do file -> file decode, and will confirm that the libraries are working OK. (you'll need a PCM player though...) Personally I would like to see libcurl as an option, as I can envisage devices which have no need (or hardware) to support streamed Ogg. Simon Wood --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>After the libraries were successfull compiled, I started >porting the ogg123 console app but gave up since it depends >on various things I dont have like libcurl and libpthreads. >So I took vorbisfile_example.c and wrote a simple player >with that. It runs on a Psion netBook but what I can hear >is not music - just some random repeated noise. I have tried >to experiment with word size (1 or 2), signed or unsigned >and endianess, but it does not make a difference.For testing, you're better off using decoder_example.c (it's simpler) - but that's unlikely to actually cause significant problems here.> >The compiler I use is gcc cross compiling for ARM, > >[alfredh@dingo er5cpp]$ arm-pe-gcc -v >gcc driver version cygnus-2.7.2-960323 (Psion GCC tools v113 05/03/1997) >executing gcc version cygnus-2.7.2-960323We've hit a LOT of bugs with older versions of gcc in developing vorbis (and in other compilers) - this is almost certainly the problem. Building a cross-compiler is never all that much fun, but it shouldn't be too hard. If it happens with a modern version (3.0.x preferred, but if you have a reason to use something a bit older that should be ok - 2.95.2 works ok for vorbis on most platforms.) If it still happens there, please do get back to us. There's a good chance you'll hit problems later on, trying to decode in real time (depending on how slow the chip is), but that can be considered later on... Michael <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.