#include <stdlib.h>#include <stdio.h>Go to the source code of this file.
Macros | |
| #define | MAX_CHANNELS 8 |
| #define | FRAC_BITS 16 |
| #define | FRAC_ONE (1 << FRAC_BITS) |
| #define | COS_TABLE_BITS 7 |
| #define | CSHIFT (FRAC_BITS - COS_TABLE_BITS - 2) |
Functions | |
| static unsigned int | myrnd (unsigned int *seed_ptr, int n) |
| static int | int_cos (int a) |
| static void | put_sample (int v) |
| int | main (int argc, char **argv) |
Variables | |
| static const unsigned short | cos_table [(1<< COS_TABLE_BITS)+2] |
| FILE * | outfile |
| #define COS_TABLE_BITS 7 |
Definition at line 47 of file audiogen.c.
| #define CSHIFT (FRAC_BITS - COS_TABLE_BITS - 2) |
Definition at line 70 of file audiogen.c.
Referenced by int_cos().
| #define FRAC_BITS 16 |
Definition at line 44 of file audiogen.c.
| #define FRAC_ONE (1 << FRAC_BITS) |
Definition at line 45 of file audiogen.c.
| #define MAX_CHANNELS 8 |
Definition at line 27 of file audiogen.c.
Referenced by main().
|
static |
Definition at line 72 of file audiogen.c.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 102 of file audiogen.c.
|
static |
Definition at line 29 of file audiogen.c.
Referenced by main().
|
static |
Definition at line 96 of file audiogen.c.
Referenced by main().
|
static |
Definition at line 50 of file audiogen.c.
Referenced by int_cos().
| FILE* outfile |
Definition at line 94 of file audiogen.c.
Referenced by audio_decode_example(), copy_chapters(), main(), put_sample(), and transcode().