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

@ -83,7 +83,7 @@ struct CELTEncoder {
CELTEncoder *celt_encoder_new(const CELTMode *mode)
CELTEncoder *celt_encoder_create(const CELTMode *mode)
{
int i, N, B, C, N4;
CELTEncoder *st;
@ -442,7 +442,7 @@ struct CELTDecoder {
int last_pitch_index;
};
CELTDecoder *celt_decoder_new(const CELTMode *mode)
CELTDecoder *celt_decoder_create(const CELTMode *mode)
{
int i, N, B, C, N4;
CELTDecoder *st;