Re: bonobo-media and Ogg Vorbis



Ali,

Take a look at the sound delivery thread in the nautilus music view.  This
will be a good place to see how to use a thread and a simple queue that
delivers buffers to our friend, esd.

Gene

----- Original Message -----
From: Ali Abdin <aliabdin aucegypt edu>
To: ERDI Gergo <cactus cactus rulez org>
Cc: <gnome-components-list gnome org>
Sent: Sunday, January 07, 2001 9:36 AM
Subject: Re: bonobo-media and Ogg Vorbis


> On 07 Jan 2001 03:02:16 +0100, ERDI Gergo wrote:
> > On Sun, 7 Jan 2001, Ali Abdin wrote:
> >
> > > Right now you are using the bitrate as the the positions per second
> > > right? Is it wrong to use the bitrate for this? Should I use the
> > > size/length as done for MP3?
> >
> > You should use whatever Vorbis uses internally, so you can seek easily.
> > You can use nano-lunar months for all bonobo-media cares -- just supply
a
> > ratio to make conversion to seconds possible.
> >
> > > Does that mean you plan to abandon SMPEG? or a modified SMPEG (without
> > > SDL)? Note: there is no sound solution being planned at all from
GNOME.
> >
> > SMPEG supports audio playback without SDL (you get the raw decoded audio
> > data in a void*)
>
> Ahh, right :) Well, as soon as you find a way to play this raw decoded
> audio, please tell me :)
>
> I spent all this morning trying to get the vorbis stream to output to
> esd using a thread. Unfortunately, esd wouldn't return a socket (kept
> returning -1). Then I said screw it, and decided to use OSS (output
> directly to /dev/dsp). Unfortunately though, I keep getting only static,
> which kinda has me perplexed. Oh well. I might next try to use the libao
> library and let it handle the audio output.
>
> Regards,
> Ali
>
>
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]