MythTV  master
Functions
pink.c File Reference
#include <stdio.h>
#include <math.h>
#include "pink.h"
Include dependency graph for pink.c:

Go to the source code of this file.

Functions

static unsigned long 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 unsigned long generate_random_number ( void  )
static

Definition at line 33 of file pink.c.

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.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().