speex.h | speex.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define SPEEX_SET_MODE 6 | #define SPEEX_SET_MODE 6 | |||
#define SPEEX_GET_MODE 7 | #define SPEEX_GET_MODE 7 | |||
#define SPEEX_SET_LOW_MODE 8 | #define SPEEX_SET_LOW_MODE 8 | |||
#define SPEEX_GET_LOW_MODE 9 | #define SPEEX_GET_LOW_MODE 9 | |||
#define SPEEX_SET_HIGH_MODE 10 | #define SPEEX_SET_HIGH_MODE 10 | |||
#define SPEEX_GET_HIGH_MODE 11 | #define SPEEX_GET_HIGH_MODE 11 | |||
#define SPEEX_SET_VBR 12 | #define SPEEX_SET_VBR 12 | |||
#define SPEEX_GET_VBR 13 | #define SPEEX_GET_VBR 13 | |||
#define SPEEX_SET_VBR_QUALITY 14 | #define SPEEX_SET_VBR_QUALITY 14 | |||
#define SPEEX_GET_VBR_QUALITY 15 | #define SPEEX_GET_VBR_QUALITY 15 | |||
#define SPEEX_SET_COMPLEXITY 16 | ||||
#define SPEEX_GET_COMPLEXITY 17 | ||||
#define SPEEX_NB_MODES 2 | #define SPEEX_NB_MODES 2 | |||
struct SpeexMode; | struct SpeexMode; | |||
/* Prototypes for mode function pointers */ | /* Prototypes for mode function pointers */ | |||
typedef void *(*encoder_init_func)(struct SpeexMode *mode); | typedef void *(*encoder_init_func)(struct SpeexMode *mode); | |||
typedef void (*encoder_destroy_func)(void *st); | typedef void (*encoder_destroy_func)(void *st); | |||
typedef void (*encode_func)(void *state, float *in, SpeexBits *bits); | typedef void (*encode_func)(void *state, float *in, SpeexBits *bits); | |||
typedef void *(*decoder_init_func)(struct SpeexMode *mode); | typedef void *(*decoder_init_func)(struct SpeexMode *mode); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
speex_bits.h | speex_bits.h | |||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
int speex_bits_write(SpeexBits *bits, char *bytes, int max_len); | int speex_bits_write(SpeexBits *bits, char *bytes, int max_len); | |||
int speex_bits_write_whole_bytes(SpeexBits *bits, char *bytes, int max_len) ; | int speex_bits_write_whole_bytes(SpeexBits *bits, char *bytes, int max_len) ; | |||
void speex_bits_pack(SpeexBits *bits, int data, int nbBits); | void speex_bits_pack(SpeexBits *bits, int data, int nbBits); | |||
int speex_bits_unpack_signed(SpeexBits *bits, int nbBits); | int speex_bits_unpack_signed(SpeexBits *bits, int nbBits); | |||
unsigned int speex_bits_unpack_unsigned(SpeexBits *bits, int nbBits); | unsigned int speex_bits_unpack_unsigned(SpeexBits *bits, int nbBits); | |||
int speex_bits_nbytes(SpeexBits *bits); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
speex_header.h | speex_header.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
char speex_version[SPEEX_HEADER_VERSION_LENGTH]; | char speex_version[SPEEX_HEADER_VERSION_LENGTH]; | |||
int speex_header_version; | int speex_header_version; | |||
int header_size; | int header_size; | |||
int rate; | int rate; | |||
int mode; | int mode; | |||
int mode_bitstream_version; | int mode_bitstream_version; | |||
int nb_channels; | int nb_channels; | |||
int bitrate; | int bitrate; | |||
int frame_size; | int frame_size; | |||
int vbr; | int vbr; | |||
int frames_per_packet; | ||||
int reserved1; | int reserved1; | |||
int reserved2; | int reserved2; | |||
int reserved3; | int reserved3; | |||
int reserved4; | ||||
} SpeexHeader; | } SpeexHeader; | |||
void speex_init_header(SpeexHeader *header, int rate, int nb_channels, stru ct SpeexMode *m); | void speex_init_header(SpeexHeader *header, int rate, int nb_channels, stru ct SpeexMode *m); | |||
char *speex_header_to_packet(SpeexHeader *header, int *size); | char *speex_header_to_packet(SpeexHeader *header, int *size); | |||
SpeexHeader *speex_packet_to_header(char *packet, int size); | SpeexHeader *speex_packet_to_header(char *packet, int size); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||