Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/defs.h File Reference

#include <math.h>
#include <iostream>
#include <stdlib.h>
Include dependency graph for defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MIXXX_PROMO_DIR   "promo"
#define math_max(a, b)   (((a) > (b)) ? (a) : (b))
#define math_min(a, b)   (((a) < (b)) ? (a) : (b))

Typedefs

typedef short int SAMPLE
typedef float CSAMPLE
typedef CSAMPLE FLOAT_TYPE

Functions

double zap_denormal (double x)

Variables

const int OK = 0
const int ERR = -1
const int BUFFER_SIZE = 2048
const unsigned int READCHUNKSIZE = 20480
const int READCHUNK_NO = 40
const unsigned int READBUFFERSIZE = READCHUNKSIZE*READCHUNK_NO
const int WINDOWSIZE = 2048
const int STEPSIZE = 1024
const int MAX_BUFFER_LEN = 160000

Define Documentation

#define math_max (   a,
 
)    (((a) > (b)) ? (a) : (b))

Definition at line 72 of file defs.h.

#define math_min (   a,
 
)    (((a) < (b)) ? (a) : (b))

Definition at line 76 of file defs.h.

#define MIXXX_PROMO_DIR   "promo"

Definition at line 20 of file defs.h.


Typedef Documentation

typedef float CSAMPLE

Definition at line 28 of file defs.h.

Definition at line 30 of file defs.h.

typedef short int SAMPLE

Definition at line 26 of file defs.h.


Function Documentation

double zap_denormal ( double  x) [inline]

Definition at line 59 of file defs.h.

Here is the caller graph for this function:


Variable Documentation

const int BUFFER_SIZE = 2048

Definition at line 35 of file defs.h.

const int ERR = -1

Definition at line 33 of file defs.h.

const int MAX_BUFFER_LEN = 160000

Maximum buffer length to each EngineObject::process call

Definition at line 50 of file defs.h.

const int OK = 0

Definition at line 32 of file defs.h.

Definition at line 43 of file defs.h.

const int READCHUNK_NO = 40

Number of readchunks. Should minimum be set to 5. In theory this should minimum be four, but since it is possible that the sound sources return more samples than request, 5 is on the safe side

Definition at line 42 of file defs.h.

const unsigned int READCHUNKSIZE = 20480

size of the chunk that's read in every read.

Definition at line 38 of file defs.h.

const int STEPSIZE = 1024

Step size used in block based processing (ReaderExtract classes)

Definition at line 47 of file defs.h.

const int WINDOWSIZE = 2048

Window size used in ReaderExtract objects

Definition at line 45 of file defs.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines