|
PortAudio 2.0
|
Ring modulate the audio input with a sine wave for 20 seconds. More...
Data Structures | |
| struct | patest1data |
Macros | |
| #define | M_PI (3.14159265) |
| #define | SAMPLE_RATE (44100) |
| #define | NUM_INPUT_CHANNELS (1) |
| #define | NUM_OUTPUT_CHANNELS (2) |
| #define | SINE_TABLE_SIZE (100) |
Functions | |
| int | main (int argc, char *argv[]) |
Ring modulate the audio input with a sine wave for 20 seconds.
| #define M_PI (3.14159265) |
Referenced by main().
| #define NUM_INPUT_CHANNELS (1) |
Referenced by main().
| #define NUM_OUTPUT_CHANNELS (2) |
Referenced by main().
| #define SAMPLE_RATE (44100) |
Referenced by main().
| #define SINE_TABLE_SIZE (100) |
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, PaHostErrorInfo::errorCode, PaHostErrorInfo::errorText, PaStreamParameters::hostApiSpecificStreamInfo, M_PI, NUM_INPUT_CHANNELS, NUM_OUTPUT_CHANNELS, Pa_AbortStream(), Pa_CloseStream(), Pa_GetDefaultInputDevice(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_GetLastHostErrorInfo(), Pa_Initialize(), Pa_IsStreamActive(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_Terminate(), paClipOff, paFloat32, paNoDevice, paNoError, paUnanticipatedHostError, patest1data::phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, patest1data::sine, SINE_TABLE_SIZE, and PaStreamParameters::suggestedLatency.