Displaying 2 results from an estimated 2 matches for "encsampl".
Did you mean:
encsamples
2008 Nov 13
2
decoded sample is completely differen from original one
...g? If so what? Or is it a reasonable which depends of values that weren't correctly set?
Thanks,
Andre
#include <stdio.h>
#include <tchar.h>
#include <speex/speex.h>
#define FRAME_SIZE 160
#define QUALITY 8
#define ENHANCEMENT 1
int encode(int * nbBytes, char * encSamples)
{
void * state;
SpeexBits bits;
int quality = QUALITY;
spx_int16_t input[] = {0x703B, 0x7361, 0x7567, 0x3969, 0x6874, 0x3B76, 0x3020, 0x3534,
0x3871, 0x7967, 0x3B75, 0x6C6F, 0x7261, 0x7965, 0x2038, 0x3B67,
0x7639, 0x3...
2008 Nov 14
0
decoded sample is completely differen from original one
...ly set?
>
> Thanks,
>
> Andre
>
>
> #include <stdio.h>
> #include <tchar.h>
>
> #include <speex/speex.h>
>
> #define FRAME_SIZE 160
>
> #define QUALITY 8
> #define ENHANCEMENT 1
>
> int encode(int * nbBytes, char * encSamples)
> {
> void * state;
> SpeexBits bits;
>
> int quality = QUALITY;
>
> spx_int16_t input[] = {0x703B, 0x7361, 0x7567, 0x3969, 0x6874, 0x3B76, 0x3020, 0x3534,
> 0x3871, 0x7967, 0x3B75, 0x6C6F, 0x7261, 0x7965, 0x2038, 0x3B67,...