MythTV  master
Classes | Macros | Functions
pink.h File Reference
#include "mythexp.h"
Include dependency graph for pink.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pink_noise_t
 

Macros

#define PINK_MAX_RANDOM_ROWS   (30)
 
#define PINK_RANDOM_BITS   (24)
 
#define PINK_RANDOM_SHIFT   ((sizeof(long)*8)-PINK_RANDOM_BITS)
 

Functions

void initialize_pink_noise (pink_noise_t *pink, int num_rows)
 
float generate_pink_noise_sample (pink_noise_t *pink)
 

Macro Definition Documentation

◆ PINK_MAX_RANDOM_ROWS

#define PINK_MAX_RANDOM_ROWS   (30)

Definition at line 6 of file pink.h.

◆ PINK_RANDOM_BITS

#define PINK_RANDOM_BITS   (24)

Definition at line 7 of file pink.h.

◆ PINK_RANDOM_SHIFT

#define PINK_RANDOM_SHIFT   ((sizeof(long)*8)-PINK_RANDOM_BITS)

Definition at line 8 of file pink.h.

Function Documentation

◆ initialize_pink_noise()

void initialize_pink_noise ( pink_noise_t pink,
int  num_rows 
)

Definition at line 41 of file pink.c.

Referenced by AudioOutputUtil::GeneratePinkFrames().

◆ generate_pink_noise_sample()

float generate_pink_noise_sample ( pink_noise_t pink)

Definition at line 54 of file pink.c.

Referenced by AudioOutputUtil::GeneratePinkFrames().