wav_io.h File Reference

#include <stdio.h>
#include "speex/speex_types.h"

Include dependency graph for wav_io.h:

This graph shows which files directly or indirectly include this file:

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)


Function Documentation

unsigned short be_short ( unsigned short  s  ) 

spx_uint32_t le_int ( spx_uint32_t  i  ) 

Convert little endian

Referenced by main(), read_wav_header(), and write_wav_header().

unsigned short le_short ( unsigned short  s  ) 

int read_wav_header ( FILE *  file,
int *  rate,
int *  channels,
int *  format,
int *  size 
)

References le_int(), and le_short().

Referenced by main().

void write_wav_header ( FILE *  file,
int  rate,
int  channels,
int  format,
int  size 
)

References le_int(), and le_short().

Referenced by out_file_open().


Generated on Wed May 7 21:15:09 2008 for speex by  doxygen 1.5.5