[CELT-dev] API Change
jridges at masque.com
Fri Oct 16 13:37:31 PDT 2009
I have to say that I'm completely in favor of this change. In my app I
use both mono and stereo streams, and it is rather a bother to have to
create my modes in pairs.
celt-dev-request at xiph.org wrote:
> Message: 3
> Date: Thu, 15 Oct 2009 22:00:06 -0400
> From: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca>
> Subject: [CELT-dev] API Change
> To: celt-dev <celt-dev at xiph.org>
> Message-ID: <4AD7D3A6.8040802 at usherbrooke.ca>
> Content-Type: text/plain; charset=ISO-8859-1
> Hi everyone,
> I've just changed the API for CELT, but at least there's a good reason
> for that. It's now possible to use the same mode data for both mono and
> stereo. So here's the change:
> - The celt_mode_create() function has a "channels" parameter
> - The celt_encode_create() and celt_decoder_create() functions now have
> an additional "channels" parameter.
> - I also added an error parameter celt_encode_create() and
> celt_decoder_create() to return any error that occurs.
> Sorry about the inconvenience. You'll see, it's worth it. Please report
> any breakage.
More information about the celt-dev