AAX SDK  2.4.1
Avid Audio Extensions Development Kit
Namespaces | Macros | Functions | Variables
AAX_RandomGen.h File Reference
#include <stdlib.h>
#include <time.h>
#include <stdint.h>
#include "AAX_PlatformOptimizationConstants.h"
#include "AAX_Constants.h"

Go to the source code of this file.

Description

Functions for calculating pseudo-random numbers.

Namespaces

 AAX
 

Macros

#define AAX_RANDOMGEN_H
 

Functions

int32_t AAX::GetInt32RPDF (int32_t *iSeed)
 
int32_t AAX::GetFastInt32RPDF (int32_t *iSeed)
 CALL: Calculate pseudo-random 32 bit number based on linear congruential method. More...
 
float AAX::GetRPDFWithAmplitudeOneHalf (int32_t *iSeed)
 
float AAX::GetRPDFWithAmplitudeOne (int32_t *iSeed)
 
float AAX::GetFastRPDFWithAmplitudeOne (int32_t *iSeed)
 
float AAX::GetTPDFWithAmplitudeOne (int32_t *iSeed)
 

Variables

const float AAX::cSeedDivisor = 1/127773.0f
 
const int32_t AAX::cInitialSeedValue =0x00F54321
 

Macro Definition Documentation

◆ AAX_RANDOMGEN_H

#define AAX_RANDOMGEN_H