#include <stdio.h>
#include "speex/speex_types.h"
Go to the source code of this file.
Functions | |
unsigned short | be_short (unsigned short s) |
unsigned short | le_short (unsigned short s) |
spx_uint32_t | le_int (spx_uint32_t i) |
int | read_wav_header (FILE *file, int *rate, int *channels, int *format, int *size) |
void | write_wav_header (FILE *file, int rate, int channels, int format, int size) |
unsigned short be_short | ( | unsigned short | s | ) |
spx_uint32_t le_int | ( | spx_uint32_t | i | ) |
Convert little endian
unsigned short le_short | ( | unsigned short | s | ) |
int read_wav_header | ( | FILE * | file, | |
int * | rate, | |||
int * | channels, | |||
int * | format, | |||
int * | size | |||
) |
void write_wav_header | ( | FILE * | file, | |
int | rate, | |||
int | channels, | |||
int | format, | |||
int | size | |||
) |