English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
ANNOUNCE : libsndfile-ocaml alpha
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-02 (19:39)
From: David Baelde <david.baelde@g...>
Subject: Re: [Caml-list] ANNOUNCE : libsndfile-ocaml alpha
On 1/2/07, Erik de Castro Lopo <mle+ocaml@mega-nerd.com> wrote:
> I was particularly interested if there was any utility to providing
> functions for accessing shorts or ints. So far noone has come up with
> a need for these.

Ocaml-vorbis and ocaml-mad take strings as input. Reading data from
libsndfile as string would allow a straightforward use of these libs

One might argue that having vorbis and mad work on float arrays would
be better. That's a point. But on the other hand, the current
datatypes avoid some conversions -- at least on the vorbis/mad side.

My 2 cents.