ReactOS 0.4.15-dev-7953-g1f49173
synth.c File Reference
#include "mpg123lib_intern.h"
#include "sample.h"
#include "debug.h"
#include "synth.h"
#include "synth_mono.h"
#include "synth_ntom.h"
Include dependency graph for synth.c:

Go to the source code of this file.

Macros

#define SAMPLE_T   short
 
#define WRITE_SAMPLE(samples, sum, clip)   WRITE_SHORT_SAMPLE(samples,sum,clip)
 
#define BLOCK   0x40 /* One decoding block is 64 samples. */
 
#define SYNTH_NAME   synth_1to1
 
#define SYNTH_NAME   fr->synths.plain[r_1to1][f_16]
 
#define MONO_NAME   synth_1to1_mono
 
#define MONO2STEREO_NAME   synth_1to1_m2s
 
#define BLOCK   0x20 /* One decoding block is 32 samples. */
 
#define SYNTH_NAME   synth_2to1
 
#define SYNTH_NAME   fr->synths.plain[r_2to1][f_16]
 
#define MONO_NAME   synth_2to1_mono
 
#define MONO2STEREO_NAME   synth_2to1_m2s
 
#define BLOCK   0x10 /* One decoding block is 16 samples. */
 
#define SYNTH_NAME   synth_4to1
 
#define SYNTH_NAME   fr->synths.plain[r_4to1][f_16] /* This is just for the _i386 one... gotta check if it is really useful... */
 
#define MONO_NAME   synth_4to1_mono
 
#define MONO2STEREO_NAME   synth_4to1_m2s
 
#define SYNTH_NAME   synth_ntom
 
#define MONO_NAME   synth_ntom_mono
 
#define MONO2STEREO_NAME   synth_ntom_m2s
 

Macro Definition Documentation

◆ BLOCK [1/3]

#define BLOCK   0x40 /* One decoding block is 64 samples. */

Definition at line 1138 of file synth.c.

◆ BLOCK [2/3]

#define BLOCK   0x20 /* One decoding block is 32 samples. */

Definition at line 1138 of file synth.c.

◆ BLOCK [3/3]

#define BLOCK   0x10 /* One decoding block is 16 samples. */

Definition at line 1138 of file synth.c.

◆ MONO2STEREO_NAME [1/4]

#define MONO2STEREO_NAME   synth_1to1_m2s

Definition at line 1182 of file synth.c.

◆ MONO2STEREO_NAME [2/4]

#define MONO2STEREO_NAME   synth_2to1_m2s

Definition at line 1182 of file synth.c.

◆ MONO2STEREO_NAME [3/4]

#define MONO2STEREO_NAME   synth_4to1_m2s

Definition at line 1182 of file synth.c.

◆ MONO2STEREO_NAME [4/4]

#define MONO2STEREO_NAME   synth_ntom_m2s

Definition at line 1182 of file synth.c.

◆ MONO_NAME [1/4]

#define MONO_NAME   synth_1to1_mono

Definition at line 1181 of file synth.c.

◆ MONO_NAME [2/4]

#define MONO_NAME   synth_2to1_mono

Definition at line 1181 of file synth.c.

◆ MONO_NAME [3/4]

#define MONO_NAME   synth_4to1_mono

Definition at line 1181 of file synth.c.

◆ MONO_NAME [4/4]

#define MONO_NAME   synth_ntom_mono

Definition at line 1181 of file synth.c.

◆ SAMPLE_T

#define SAMPLE_T   short

Definition at line 24 of file synth.c.

◆ SYNTH_NAME [1/7]

#define SYNTH_NAME   synth_1to1

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [2/7]

#define SYNTH_NAME   fr->synths.plain[r_1to1][f_16]

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [3/7]

#define SYNTH_NAME   synth_2to1

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [4/7]

#define SYNTH_NAME   fr->synths.plain[r_2to1][f_16]

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [5/7]

#define SYNTH_NAME   synth_4to1

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [6/7]

#define SYNTH_NAME   fr->synths.plain[r_4to1][f_16] /* This is just for the _i386 one... gotta check if it is really useful... */

Definition at line 1180 of file synth.c.

◆ SYNTH_NAME [7/7]

#define SYNTH_NAME   synth_ntom

Definition at line 1180 of file synth.c.

◆ WRITE_SAMPLE

#define WRITE_SAMPLE (   samples,
  sum,
  clip 
)    WRITE_SHORT_SAMPLE(samples,sum,clip)

Definition at line 25 of file synth.c.