Re-ordered the parameters in the stream: [energy, pitch index, pitch gains]

Also fixed a bug that was exposed by the change (and removed some warnings)
This commit is contained in:
Jean-Marc Valin 2008-02-11 16:44:48 +11:00
parent 6c1f604944
commit cb7a2a3d52
9 changed files with 18 additions and 16 deletions

View file

@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int main(int argc, char *argv[])
{
@ -46,7 +47,7 @@ int main(int argc, char *argv[])
int len;
celt_int32_t frame_size, channels;
int bytes_per_packet;
char data[1024];
unsigned char data[1024];
double rmsd = 0;
int count = 0;