Main Page   Compound List   File List   Compound Members   File Members  

speex_header.h File Reference

Describes the Speex header. More...

Go to the source code of this file.

Compounds

struct  SpeexHeader

Defines

#define SPEEX_HEADER_VERSION_LENGTH   20

Typedefs

typedef SpeexHeader SpeexHeader

Functions

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


Detailed Description

Describes the Speex header.


Define Documentation

#define SPEEX_HEADER_VERSION_LENGTH   20
 

Maximum number of characters for encoding the Speex version number in the header


Typedef Documentation

typedef struct SpeexHeader SpeexHeader
 

Speex header info for file-based formats


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,
struct SpeexMode   m
 

Initializes a SpeexHeader using basic information

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