MythTV  master
Functions
pink.cpp File Reference
#include <cmath>
#include <cstdio>
#include "pink.h"
Include dependency graph for pink.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

◆ generate_random_number()

static uint32_t generate_random_number ( void  )
static

Definition at line 33 of file pink.cpp.

Referenced by generate_pink_noise_sample().

◆ initialize_pink_noise()

void initialize_pink_noise ( pink_noise_t pink,
int  num_rows 
)

Definition at line 41 of file pink.cpp.

Referenced by AudioOutputUtil::GeneratePinkFrames().

◆ generate_pink_noise_sample()

float generate_pink_noise_sample ( pink_noise_t pink)

Definition at line 56 of file pink.cpp.

Referenced by AudioOutputUtil::GeneratePinkFrames().