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)
SpeexHeader * speex_packet_to_header (char *packet, int size)

Define Documentation

#define ENDIAN_SWITCH (  x    )     {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 Wed Feb 11 13:48:37 2004 for speex by doxygen1.2.15