diff options
author | Stefan de Konink <stefan@konink.de> | 2010-01-08 05:27:42 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-01-08 05:27:42 +0300 |
commit | 7f1822961de6af9a974cd07cab4de6b86a60b574 (patch) | |
tree | 4cfff9b1ea9eb38dc3fde31a559d47b5c83cea3c /tools | |
parent | 74128befe450d0967a6c3e411424e3da5d7fc74d (diff) |
Updates celtclient to the new API.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/celtclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/celtclient.c b/tools/celtclient.c index 879bcec..445f8d1 100644 --- a/tools/celtclient.c +++ b/tools/celtclient.c @@ -133,9 +133,9 @@ int main(int argc, char *argv[]) /* Setup the encoder and decoder in wideband */ CELTEncoder *enc_state; CELTDecoder *dec_state; - CELTMode *mode = celt_mode_create(SAMPLING_RATE, CHANNELS, FRAME_SIZE, NULL); - enc_state = celt_encoder_create(mode); - dec_state = celt_decoder_create(mode); + CELTMode *mode = celt_mode_create(SAMPLING_RATE, FRAME_SIZE, NULL); + enc_state = celt_encoder_create(mode, CHANNELS, NULL); + dec_state = celt_decoder_create(mode, CHANNELS, NULL); struct sched_param param; /*param.sched_priority = 40; */ param.sched_priority = sched_get_priority_min(SCHED_FIFO); |