Hi ,<br><br> I had inquired about Tremor decoder for my ARM 926EJ-S versatile baseboard , sometime ago .Meanwhile I had downloaded Tremor source along with the documentation from the SVN . <br><br> I am new to codecs . My intent was to compile the tremor library and compile my application with this library .<br>
<br>1. I compiled the Tremor library for ARM using he following commands<br><br>./configure CC=arm-linux-gcc --target=arm-linux --host=arm-linux <br>make <br>make install<br><br>I got a set of libraries , libvorbisidec.a was one of them . <br>
<br>I then compiled the example application that came with the code namely ivorbisfile_example.c and got an executable . by running <br><br>make example <br><br>Please note -<br><br> I am not aware of the prerequisites to compile a tremor code with the library , , is there any guideline ? As I see to compile the ivorbisfile_example file other C files are also compiled , not sure if they are needed .<br>
<br>2. I then ran the ivorbisfile_example file with the following command <br><br>cat Buckcherry-Sorry.ogg | ./ivorbisfile_example > /dev/audio <br><br>I see that the file information gets printed out but then the file is never played out . Though I am able to play the same file with other players e.g. Amarok . <br>
<br>I may be wrong here , where can I get more information on the usability of the decoder, how to write code and compile with the library ? Is there any application note available ? <br><br>I am attaching the C file I am using here , this file as I stated before is a part of the standard distribution of Tremor source .<br>
<br>3. I can also see other C files in the source tree like codebook.c , floor0.c etc ,are these files required by ivorbisfile_example.c ?<br><br>Right now the ogg file which I am trying is not with me at home , I will attach it to the mail as soon as I get it . <br>
<br>Thank you .<br><br>Regards<br>Diptopal<br><br><br>
<br><div class="gmail_quote">On Fri, Apr 17, 2009 at 9:26 AM, Diptopal Basu <span dir="ltr"><<a href="mailto:diptopal.basu@gmail.com" target="_blank">diptopal.basu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi ,<br><br> Redirecting this mail to the Tremor Forum . I am looking at implementing Tremor on a ARM 926EJ-S board . Actually I think Tremor would be more suitable for my hardware .Can anyone help ?<br><br>Regards<br>
Diptopal Basu<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ralph Giles</b> <span dir="ltr"><<a href="mailto:rillian@telus.net" target="_blank">rillian@telus.net</a>></span><br>
Date: Thu, Apr 16, 2009 at 10:14 PM<br>Subject: Re: [Vorbis-dev] Does libao use /dev/sound for audio ?<br>To: Diptopal Basu <<a href="mailto:diptopal.basu@gmail.com" target="_blank">diptopal.basu@gmail.com</a>><br>
Cc: Conrad Parker <<a href="mailto:conrad@metadecks.org" target="_blank">conrad@metadecks.org</a>>, <a href="mailto:vorbis-dev@xiph.org" target="_blank">vorbis-dev@xiph.org</a><br>
<br><br><div>On Thu, Apr 16, 2009 at 1:41 AM, Diptopal Basu <<a href="mailto:diptopal.basu@gmail.com" target="_blank">diptopal.basu@gmail.com</a>> wrote:<br>
<br>
> I am planning to port this on a an ARM platform running Linux . Actually I<br>
> was hunting for the makefile in the libogg and libvorbis folders and I could<br>
> not find it . I guess I need to make use of the autotools to first generate<br>
> the makefile from <a href="http://makefile.in" target="_blank">makefile.in</a> , <a href="http://config.h.in" target="_blank">config.h.in</a> etc<br>
<br>
</div>That's correct. You may not need to modify the Makefiles directly<br>
though. In theory you can do something like this:<br>
<br>
./configure --host=arm-linux-gnueabi<br>
<br>
This is supposed to set the same variables automatically in the<br>
Makefiles in creates. Sometimes one must fiddle with --prefix and<br>
dependent library locations to get subsequent stages to link however.<br>
<font color="#888888"><br>
-r<br>
</font></div><br>
</blockquote></div><br>