Main Page   Compound List   File List   Compound Members   File Members  

speexenc.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "speex.h"
#include <ogg/ogg.h>
#include "wav_io.h"
#include "speex_header.h"
#include "speex_stereo.h"
#include "misc.h"

Defines

#define MAX_FRAME_SIZE   2000
#define MAX_FRAME_BYTES   2000
#define readint(buf, base)
#define writeint(buf, base, val)

Functions

void comment_init (char **comments, int *length, char *vendor_string)
void comment_add (char **comments, int *length, char *tag, char *val)
int oe_write_page (ogg_page *page, FILE *fp)
void version ()
void version_short ()
void usage ()
int main (int argc, char **argv)

Define Documentation

#define MAX_FRAME_BYTES   2000
 

#define MAX_FRAME_SIZE   2000
 

#define readint (  buf,
base    ) 
 

Value:

(((buf[base+3]<<24)&0xff000000)| \
                           ((buf[base+2]<<16)&0xff0000)| \
                           ((buf[base+1]<<8)&0xff00)| \
                            (buf[base]&0xff))

#define writeint (  buf,
base,
val    ) 
 

Value:

do{ buf[base+3]=((val)>>24)&0xff; \
                                     buf[base+2]=((val)>>16)&0xff; \
                                     buf[base+1]=((val)>>8)&0xff; \
                                     buf[base]=(val)&0xff; \
                                 }while(0)


Function Documentation

void comment_add (  char **    comments,
int *    length,
char *    tag,
char *    val
) 
 

void comment_init (  char **    comments,
int *    length,
char *    vendor_string
) 
 

int main (  int    argc,
char **    argv
) 
 

int oe_write_page (  ogg_page *    page,
FILE *    fp
) 
 

void usage (    ) 
 

void version (    ) 
 

void version_short (    ) 
 


Generated on Wed Feb 11 13:48:37 2004 for speex by doxygen1.2.15