Hello.

Thanks for your detailed answer.

> As to your question; If you want the best performance then you have to use 
> sdl-
> mixer as there is quite some overhead involved when lispbuilder-sdl performs
> the byte-copy over the FFI interface to fill the audio buffer.

Could I - instead of using SDL-Mixer - just write an own little shared
library that calls into sdl from C directly, and load it through ffi?
I.e. is that possible without having to adapt lispbuilder?

> What I plan to do in the future is to use pinned vectors which should 
> hopefully
> make the mixer in lispbuilder-sdl as efficient as sdl-mixer by removing the
> need for the the byte-copy.

How about porting the whole thing to the static FFI of ECL? Shouldnt
that make it a lot faster?

> I hope this hasn't discouraged you.

Hm well. The situation under CL is quite discouraging, because at
least under windows its quite hard to get over the dependency hell,
when there are no evolved standards of how to deploy the projects, and
half of the software doesnt even compile under cygwin (which is the
poorest solution anyway). Thats one reason why I dropped sdl-image and
lisp-magick from my project and currently try to use my own code to
handle Windows Bitmaps, and why I dont want to use sdl-mixer. But
thats a more general problem.

Regards, Christoph
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to