patest_clip.c File Reference

Play a sine wave for several seconds at an amplitude that would require clipping. More...

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

Data Structures

struct  paTestData

Defines

#define NUM_SECONDS   (4)
#define SAMPLE_RATE   (44100)
#define TABLE_SIZE   (200)

Functions

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

Detailed Description

Play a sine wave for several seconds at an amplitude that would require clipping.

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

Define Documentation

#define NUM_SECONDS   (4)
#define SAMPLE_RATE   (44100)
#define TABLE_SIZE   (200)

Function Documentation

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

Generated for PortAudio by  doxygen1.6.1