PortAudio  2.0
Data Structures | Macros | Functions
patest_unplug.c File Reference

Debug a crash involving unplugging a USB device. More...

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

Data Structures

struct  paTestData
 

Macros

#define NUM_SECONDS   (8)
 
#define SAMPLE_RATE   (44100)
 
#define M_PI   (3.14159265)
 
#define TABLE_SIZE   (200)
 
#define FRAMES_PER_BUFFER   (64)
 
#define MAX_CHANNELS   (8)
 

Functions

int main (int argc, char **args)
 

Detailed Description

Debug a crash involving unplugging a USB device.

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

Macro Definition Documentation

#define FRAMES_PER_BUFFER   (64)
#define M_PI   (3.14159265)
#define MAX_CHANNELS   (8)
#define NUM_SECONDS   (8)
#define SAMPLE_RATE   (44100)
#define TABLE_SIZE   (200)

Function Documentation

int main ( int  argc,
char **  args 
)