#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
#include "getopt_win.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <speex/speex.h>
#include <ogg/ogg.h>
#include "wav_io.h"
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_preprocess.h>
Include dependency graph for speexenc.c:
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 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)
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 | ( | ) |