[Vorbis-dev] Can you provide me some information on music players using ogg.

Conrad Parker conrad at metadecks.org
Tue Apr 7 09:58:30 PDT 2009


2009/4/8 Diptopal Basu <diptopal.basu at gmail.com>:
> Hi Conrad ,
>
>     Please pardon my ignorance ,  I am not so much aware of audio players as
> such this is my first exposure to audio codecs . This is what I am looking
> at , some audio player application that will expose some APIs ( I need to
> use this to showcase an API testing tool and I thought it can be best
> demonstrated using audio codecs ) which I can call to control the player ,
> thats what you mean by control pipes I think ( if it is an IPC scenario ).
> The player should be able to handle interfacing also , if you mean audio
> file access .
>
>    So some .ogg files stored at some location should be possible to be
> played and controlled by the APIs supplied by the .ogg player . I will use a
> an automation tool on this software to call the APIs . The player
> application should reside as a shared library for me to call the APIs ,
> right now I am not planning to handle IPC scenarios . So want to use the
> same user space to run mu automation tool and the music player as a shared
> library.
>
>
>    My board ( now a simulator ) is an ARM integrator 926 EJS board which
> runs on Linux 2.6.26.5 . The board has a LM4549 Audio Codec IC connected
> through a PrimeCell AACI.  The LM4549 audio codec used on ARM’s development
> boards has 18-bit ADCs and DACs. So in short without the ogg codec the board
> can just record and play .wav files . Since I have a Linux port existing on
> the board I hope that the .ogg player which I use should be able to use
> standard calls to output audio through the codec .
>

right, so assuming you have a normal Linux kernel set up with ALSA or
OSS, then ogg123 should run (playing via libao).

You control it from your program by simply exec()ing it and connecting
pipes to its stdin/stdout. A copy of the command set is here:
https://trac.xiph.org/attachment/ticket/1109/remote.txt

cheers,

Conrad.


More information about the Vorbis-dev mailing list