<div>Hi Conrad , </div>
<div> </div>
<div> Let me check , I am not too sure if ALSA/OSS is configured as I downloaded the Linux source and compiled it myself for the Versatile baseboard , I will try to do as you advised . So I assume for Ogg123 to work , the og and vorbis libraries should be present ?</div>
<div> </div>
<div>Regards </div>
<div>Diptopal Basu<br><br></div>
<div class="gmail_quote">On Tue, Apr 7, 2009 at 10:28 PM, Conrad Parker <span dir="ltr"><<a href="mailto:conrad@metadecks.org">conrad@metadecks.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2009/4/8 Diptopal Basu <<a href="mailto:diptopal.basu@gmail.com">diptopal.basu@gmail.com</a>>:<br>
<div class="im">> Hi Conrad ,<br>><br>> Please pardon my ignorance , I am not so much aware of audio players as<br>> such this is my first exposure to audio codecs . This is what I am looking<br>> at , some audio player application that will expose some APIs ( I need to<br>
> use this to showcase an API testing tool and I thought it can be best<br>> demonstrated using audio codecs ) which I can call to control the player ,<br>> thats what you mean by control pipes I think ( if it is an IPC scenario ).<br>
> The player should be able to handle interfacing also , if you mean audio<br>> file access .<br>><br>> So some .ogg files stored at some location should be possible to be<br>> played and controlled by the APIs supplied by the .ogg player . I will use a<br>
> an automation tool on this software to call the APIs . The player<br>> application should reside as a shared library for me to call the APIs ,<br>> right now I am not planning to handle IPC scenarios . So want to use the<br>
> same user space to run mu automation tool and the music player as a shared<br>> library.<br>><br>><br>> My board ( now a simulator ) is an ARM integrator 926 EJS board which<br>> runs on Linux 2.6.26.5 . The board has a LM4549 Audio Codec IC connected<br>
> through a PrimeCell AACI. The LM4549 audio codec used on ARM’s development<br>> boards has 18-bit ADCs and DACs. So in short without the ogg codec the board<br>> can just record and play .wav files . Since I have a Linux port existing on<br>
> the board I hope that the .ogg player which I use should be able to use<br>> standard calls to output audio through the codec .<br>><br><br></div>right, so assuming you have a normal Linux kernel set up with ALSA or<br>
OSS, then ogg123 should run (playing via libao).<br><br>You control it from your program by simply exec()ing it and connecting<br>pipes to its stdin/stdout. A copy of the command set is here:<br><a href="https://trac.xiph.org/attachment/ticket/1109/remote.txt" target="_blank">https://trac.xiph.org/attachment/ticket/1109/remote.txt</a><br>
<br>cheers,<br><font color="#888888"><br>Conrad.<br></font></blockquote></div><br>