Changed _new() to _create() in the API. Added some documentation

on how to use the API.
This commit is contained in:
Jean-Marc Valin 2008-02-20 15:53:15 +11:00
parent 3df6e27f34
commit 8c19b030df
5 changed files with 102 additions and 29 deletions

View file

@ -308,7 +308,7 @@ static CELTDecoder *process_header(ogg_packet *op, celt_int32_t enh_enabled, cel
return NULL;
}
st = celt_decoder_new(mode);
st = celt_decoder_create(mode);
if (!st)
{
fprintf (stderr, "Decoder initialization failed.\n");