chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] ANN: Binding for libsdl-mixer available


From: Christian Kellermann
Subject: Re: [Chicken-users] ANN: Binding for libsdl-mixer available
Date: Mon, 28 May 2012 14:43:46 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Moritz Heidkamp <address@hidden> [120528 14:30]:
> Hey Christian,
>
> Christian Kellermann <address@hidden> writes:
> > I want to direct your attention to a new egg that I have created and
> > found quite entertaining so far: sdl-mixer a binding to libsdl-mixer
> > that allows you to play music and samples in scheme with ease.
>
> that sounds very nice, thanks for putting it together!
>
>
> > (play-music (load-music "background.mp3"))
>
> A question regarding the API: Is the "music" term inherited from SDL?

Yes.

> And what's the difference to "sample"? Looks like the "music" functions
> play samples asynchronously. If so I'd vote for renaming it (to

Both play asynchronously. Samples are mixed together in channels. Output is 
always the channels plus 1 music channel.

> something like play-sample/async, only better) since music isn't
> necessarily the only thing one would want to play in background :-)

I think the /async is redundant...

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]