Data Structures | Defines | Typedefs | Functions

patest_dither.c File Reference

Attempt to hear difference between dithered and non-dithered signal. More...

#include <stdio.h>
#include <math.h>
#include "portaudio.h"

Data Structures

struct  paTestData

Defines

#define NUM_SECONDS   (5)
#define SAMPLE_RATE   (44100)
#define M_PI   (3.14159265)
#define TABLE_SIZE   (200)

Typedefs

typedef struct paTestData paTestData

Functions

PaError PlaySine (paTestData *data, PaStreamFlags flags, float amplitude)
int main (void)

Detailed Description

Attempt to hear difference between dithered and non-dithered signal.

This only has an effect if the native format is 16 bit.

Author:
Phil Burk http://www.softsynth.com

Define Documentation

#define M_PI   (3.14159265)

Referenced by main().

#define NUM_SECONDS   (5)

Referenced by PlaySine().

#define SAMPLE_RATE   (44100)

Referenced by PlaySine().

#define TABLE_SIZE   (200)

Typedef Documentation

typedef struct paTestData paTestData

Function Documentation

int main ( void   ) 
PaError PlaySine ( paTestData data,
PaStreamFlags  flags,
float  amplitude 
)