[Vorbis-dev] Fwd: Does libao use /dev/sound for audio ?

Diptopal Basu diptopal.basu at gmail.com
Wed Apr 15 21:22:17 PDT 2009


Resending the mail this time with contents . Please help

---------- Forwarded message ----------
From: Diptopal Basu <diptopal.basu at gmail.com>
Date: Tue, Apr 14, 2009 at 8:30 PM
Subject: Re: [Vorbis-dev] Does libao use /dev/sound for audio ?
To: Conrad Parker <conrad at metadecks.org>
Cc: vorbis-dev at xiph.org


Hi Conrad ,

    Thanks for your response , please see my answers below .

Regards
Diptopal Basu

On Tue, Apr 14, 2009 at 7:04 PM, Conrad Parker <conrad at metadecks.org> wrote:

> Mr. Basu,
>
> 1. Have you successfully compiled anything else on this ARM platform?
> Is there something particular about vorbis that you are having trouble
> with, or are you having general problems with building software for
> this platform?


   Answer : I have compiled the Linux kernel version 2.6.26.5 for ARM
including busybox . I have created the ramfs file system and compiled the
kernel modules and placed the modules in the ramfs file system. I have a
running Linux kernel on QEMU simulator for ARM versatile Application
baseboard  , the real hardware will be coming in soon. I am using ELDK
v4.1 for ARM

   I have compiled basic hello world programs on Linux and a program which
programs the timer and prints messages on each timeout . These programs run
successfully the kernel I compiled .

  I do not have a clue as to where to change the makefiles and config
files for the ligogg and the libvorbis files for building them with ARM
compiler  . What are the factors that I need to take care if I try to cross
compile these libraries on ARM ?

  How do these libraries interact with the Linux kernel ? How to use these
libraries if I am planning to write a player software ?


>
>
> 2. how have tried to compile the vorbis libraries on ARM already? what
> errors have you encountered? What steps did you take to fix these
> errors?


Answer : No I have not yet tried to compile the files , I have not found any
information as I stated above.

>
>
> 3. What is the purpose of libao? What is the purpose of libvorbis?
> Which of the problems that you are having relate to libao, and which
> relate to libvorbis?
>

Answer : Eventually I need to use ogg123 ( ogg123 uses libao to output sound
thats what I heard ) and therefore I need have the rest of the files like
libao libogg libcurl libvorbis ready , I need to understand the interactions
of these libraries and of course how to compile all of them on ARM .

 So I will have a separate application which will communicate with ogg123
using IPC pipes and control the playback of oggfiles .

>
> Conrad.
>
> 2009/4/14 Diptopal Basu <diptopal.basu at gmail.com>:
>  > I need information on compiling the vorbis libraries on ARM , can
> anyone
> > help ?
> >
> > Regards
> > Diptopal
> >
> > On Tue, Apr 14, 2009 at 10:16 AM, Diptopal Basu <diptopal.basu at gmail.com
> >
> > wrote:
> >>
> >> Hi Michael ,
> >>
> >>  Actually I will need to use ogg123 for some implementation hence libao
> .
> >>
> >> So you mean even if my /dev/sound has problems I can use the vorbis
> >> libraries ( not the libao , only the vorbis libraries ) ?
> >>
> >> Regards
> >> Diptopal
> >>
> >> On Tue, Apr 14, 2009 at 10:12 AM, Michael Smith <msmith at xiph.org>
> wrote:
> >>>
> >>> On Mon, Apr 13, 2009 at 9:09 PM, Diptopal Basu <
> diptopal.basu at gmail.com>
> >>> wrote:
> >>> >
> >>> >
> >>> > I am using the Versatile Application baseboard and intend to use the
> >>> > ogg
> >>> > vorbis libraries .
> >>> >
> >>> > I have been able to install all the modules related to sound .
> However
> >>> > I
> >>> > think there's something wrong with the /sev/sound folder in my kernel
> ,
> >>> > hence everytime we do
> >>> >
> >>> > cat anything.au > /dev/audio
> >>> >
> >>> > It throws an error cant create device /dev/audio even though
> /dev/audio
> >>> > is
> >>> > present .
> >>> >
> >>> > My question is the ogg vorbis libraries like the libao , do they make
> >>> > use of
> >>> > /dev/audio or is there any other mechanism .
> >>>
> >>> libao is not an ogg or vorbis library. It's a completely unrelated
> >>> library, for audio output - and it's unmaintained, so I don't know if
> >>> anyone will be able to help you with it.
> >>>
> >>> Fortunately, since libao has nothing to do with ogg or vorbis, you can
> >>> happily use vorbis without using libao.
> >>>
> >>> Mike
> >>
> >
> >
> > _______________________________________________
> > Vorbis-dev mailing list
> > Vorbis-dev at xiph.org
> > http://lists.xiph.org/mailman/listinfo/vorbis-dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20090416/7681ab72/attachment-0001.htm 


More information about the Vorbis-dev mailing list