[vorbis-dev] porting Ogg Vorbis to Symbian OS

Herman Oosthuysen Herman at WirelessNetworksInc.com
Thu Feb 28 11:55:35 PST 2002



Try downsampling the inut files using sox for test purposes.

--
Herman Oosthuysen
Herman at WirelessNetworksInc.com
Suite 300, #3016, 5th Ave NE,
Calgary, Alberta, T2A 6K4, Canada
Phone: (403) 569-5688, Fax: (403) 235-3965
----- Original Message -----
From: Alfred E.Heggestad <linuxedmund at yahoo.com>
To: <vorbis-dev at xiph.org>; Michael Smith <msmith at labyrinth.net.au>
Sent: Wednesday, February 27, 2002 5:44 PM
Subject: Re: [vorbis-dev] porting Ogg Vorbis to Symbian OS

<p>> Hi
>
> I have tried with a more recent version of gcc
>
> [alfredh at dingo _source]$ arm-epoc-pe-gcc -v
> Reading specs from
/usr/local/er6/lib/gcc-lib/arm-epoc-pe/2.9-psion-98r2/specs
> gcc version 2.9-psion-98r2 (Symbian build 539)
>
> but the same results.
>
> I think a problem might be the sample rate of the encoded
> PCM which is 44100Hz on the .ogg file but my hardware
> (Psion netBook) only supports 8000Hz alaw. Alaw is ok
> because I have some PCM <--> alaw converters but
> the PCM I get back from ov_read() must be 8000Hz -
> is there any way of specifying which sample rate I want
> back ? Otherwise I guess I have to do 44.1kHz -> 8kHz
> conversion after decoding...
>
> The hardware I have is StrongArm (SA-1100) running
> at 191MHz. I will probably run into some performance
> issues later but first I just want to hear something that
> sounds like music...:) my testing ogg is Pigs from Pink
> Floyd's "Animals"
>
> /alfred
>
> On Wednesday 27 February 2002 09:12, Michael Smith wrote:
> > >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 at 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
> >
> > We'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
> >
> >
> > --- >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 at xiph.org' containing only the word 'unsubscribe' in
the
> > body.  No subject is needed. Unsubscribe messages sent to the list will
be
> > ignored/filtered.
>
> _________________________________________________________
> 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 at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.

<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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list