Re: Does libao use /dev/sound for audio ?

Diptopal Basu <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected]>:
>  > 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 <[email protected]
> >
> > 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 <[email protected]>
> wrote:
> >>>
> >>> On Mon, Apr 13, 2009 at 9:09 PM, Diptopal Basu <
> [email protected]>
> >>> 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
> > [email protected]
> > http://lists.xiph.org/mailman/listinfo/vorbis-dev
> >
> >
>

_______________________________________________
Vorbis-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.