PortAudio 2.0

examples Directory Reference

Files

file  pa_devs.c [code]
 

List available devices, including device information.


file  pa_fuzz.c [code]
 

Distort input like a fuzz box.


file  paex_mono_asio_channel_select.c [code]
 

Play a monophonic sine wave on a specific ASIO channel.


file  paex_ocean_shore.c [code]
 

Generate Pink Noise using Gardner method, and make "waves". Provides an example of how to post stuff to/from the audio callback using lock-free FIFOs implemented by the PA ringbuffer.


file  paex_pink.c [code]
 

Generate Pink Noise using Gardner method.


file  paex_read_write_wire.c [code]
 

Tests full duplex blocking I/O by passing input straight to output.


file  paex_record.c [code]
 

Record input into an array; Save array to a file; Playback recorded data.


file  paex_record_file.c [code]
 

Record input into a file, then playback recorded data from file (Windows only at the moment)


file  paex_saw.c [code]
 

Play a simple (aliasing) sawtooth wave.


file  paex_sine.c [code]
 

Play a sine wave for several seconds.


file  paex_sine_c++.cpp [code]
file  paex_wmme_ac3.c [code]
 

Use WMME-specific interface to send raw AC3 data to a S/PDIF output.


file  paex_wmme_surround.c [code]
 

Use WMME-specific channelMask to request 5.1 surround sound output.


file  paex_write_sine.c [code]
 

Play a sine wave for several seconds using the blocking API (Pa_WriteStream())


file  paex_write_sine_nonint.c [code]
 

Play a non-interleaved sine wave using the blocking API (Pa_WriteStream())