Hi,

I'm the main developer of an audio stream generator written in OCaml:
liquidsoap (http://savonet.sf.net/wiki/Liquidsoap). We're currently
using alsa for hardware audio I/O (this is not a fundamental feature
for us but it's still useful). The problem is (1) it's a pain to use
and (2) it's not portable. Yesterday, we discovered libao and we would
like to switch. I'm very glad to see that it has already been
interfaced with OCaml.

However, I've got a couple of questions. First, I'm surprised to see
no OCAMLxxx macro in your code. I'm not the interfacing guru of the
team, but I'm puzzled: is it working well, has it been tested on long
runs ? Also, there is no blocking_section management, needed for
multithreaded apps like our. I'd like to know if you're still working
on it, in which case we can ask you for fixes, of if we should build
our own version, based either on our ocaml-alsa or your ocaml-ao...

Thanks for your work.
--
David

PS: By the way, I noticed that you have interfaced libvorbisfile too.
Looks like we did some redundant work on ocaml-vorbis ;) What are all
these libs for actually: are your developping some secret audio
project ? I can't imagine anybody interfacing C and OCaml for fun :p

Répondre à