#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) |
Functions | |
PaError | PlaySine (paTestData *data, PaStreamFlags flags, float amplitude) |
int | main (void) |
This only has an effect if the native format is 16 bit.
#define M_PI (3.14159265) |
#define NUM_SECONDS (5) |
#define SAMPLE_RATE (44100) |
#define TABLE_SIZE (200) |
int main | ( | void | ) |
setup host specific info
setup host specific info
PaError PlaySine | ( | paTestData * | data, | |
PaStreamFlags | flags, | |||
float | amplitude | |||
) |