speex_header.c File Reference

#include "misc.h"
#include <speex/speex_header.h>
#include <speex/speex.h>

Include dependency graph for speex_header.c:


Defines

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

Functions

void speex_init_header (SpeexHeader *header, int rate, int nb_channels, const 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=le_int(x);}

#define NULL   0


Function Documentation

char* speex_header_to_packet ( SpeexHeader *  header,
int *  size 
)

References ENDIAN_SWITCH, speex_alloc(), and speex_move().

Referenced by main().

void speex_init_header ( SpeexHeader *  header,
int  rate,
int  nb_channels,
const SpeexMode *  m 
)

References speex_mode_query(), SPEEX_VERSION, and speex_warning().

Referenced by main().

SpeexHeader* speex_packet_to_header ( char *  packet,
int  size 
)


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