Main Page | Compound List | File List | Compound Members | File Members

speex_header.c File Reference

#include "speex_header.h"
#include "misc.h"
#include "speex.h"

Defines

#define NULL   0
#define ENDIAN_SWITCH(x)   {x=le_int(x);}

Functions

void speex_init_header (SpeexHeader *header, int rate, int nb_channels, SpeexMode *m)
char * speex_header_to_packet (SpeexHeader *header, int *size)
SpeexHeaderspeex_packet_to_header (char *packet, int size)

Define Documentation

#define ENDIAN_SWITCH  )     {x=le_int(x);}
 

#define NULL   0
 


Function Documentation

char* speex_header_to_packet SpeexHeader header,
int *  size
 

Creates the header packet from the header itself (mostly involves endianness conversion)

void speex_init_header SpeexHeader header,
int  rate,
int  nb_channels,
SpeexMode m
 

SpeexHeader* speex_packet_to_header char *  packet,
int  size
 

Creates a SpeexHeader from a packet


Generated on Sun Sep 21 16:07:09 2003 for speex by doxygen 1.3.2