---------- Forwarded message ---------- From: Aron Sogor bigman@gmail.com Date: Oct 29, 2005 9:34 AM Subject: Re: mad-dev Digest, Vol 5, Issue 13 To: "freeoicq@huawei.com" freeoicq@huawei.com
Hmmm...
Interesting, a couple of things that I wonder about that idea: 1. madlld does not access the sound device- as writing to the sound device would be either piped to sox or use something like libao.
2. looking at the source it seems madlld "pulls" the frames and controlls the loop vs in madplay mb calling the decoder it uses callback where libmad sort of "push" the frames. ?? is that a valid observetion ??
3. finally there is the MadFixedToSshort function that turns the decoded mad frame to PCM that seems to be the "magic" each app mention that could be done better... What is it's significance and why do mortals care?
Thanks for replying my mail...
Aron
On 10/28/05, freeoicq@huawei.com freeoicq@huawei.com wrote:
mad-dev-request,您好! You can use madlld to do that.
======= 2005-10-28 12:00:00 您在来信中写道:=======
Send mad-dev mailing list submissions to mad-dev@lists.mars.org
To subscribe or unsubscribe via the World Wide Web, visit http://www.mars.org/bin/mailman/listinfo/mad-dev or, via email, send a message with subject or body 'help' to mad-dev-request@lists.mars.org
You can reach the person managing the list at mad-dev-owner@lists.mars.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of mad-dev digest..."
Today's Topics:
- How to embed madplay? (Aron Sogor)
Message: 1 Date: Thu, 27 Oct 2005 21:19:53 -0700 From: Aron Sogor bigman@gmail.com Subject: [mad-dev] How to embed madplay? To: mad-dev@lists.mars.org Message-ID: 40a68dcb0510272119n2348e246i4f74207ab2356ee6@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Hi,
Sorry if I am asking the obvious.
Is there a way to compile madplay into a shared library?
I am looking for a way to embed madplay in an application and provide new controlls other than tty.
The other option would be to do an exec() and controll it over stdin/stdout but that is not very elegant.
Any suggestions?
Aron
End of mad-dev Digest, Vol 5, Issue 13
= = = = = = = = = = = = = = = = = = = =
致 礼!
freeoicq freeoicq@huawei.com 2005-10-29