PortAudio 2.0
File List
Here is a list of all files with brief descriptions:
[detail level 1234]
  doc
  src
  examples
 pa_devs.cList available devices, including device information
 pa_fuzz.cDistort input like a fuzz box
 paex_mono_asio_channel_select.cPlay a monophonic sine wave on a specific ASIO channel
 paex_ocean_shore.cGenerate 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
 paex_pink.cGenerate Pink Noise using Gardner method
 paex_read_write_wire.cTests full duplex blocking I/O by passing input straight to output
 paex_record.cRecord input into an array; Save array to a file; Playback recorded data
 paex_record_file.cRecord input into a file, then playback recorded data from file (Windows only at the moment)
 paex_saw.cPlay a simple (aliasing) sawtooth wave
 paex_sine.cPlay a sine wave for several seconds
 paex_sine_c++.cpp
 paex_wmme_ac3.cUse WMME-specific interface to send raw AC3 data to a S/PDIF output
 paex_wmme_surround.cUse WMME-specific channelMask to request 5.1 surround sound output
 paex_write_sine.cPlay a sine wave for several seconds using the blocking API (Pa_WriteStream())
 paex_write_sine_nonint.cPlay a non-interleaved sine wave using the blocking API (Pa_WriteStream())
  include
 pa_asio.hASIO-specific PortAudio API extension header file
 pa_jack.hJACK-specific PortAudio API extension header file
 pa_linux_alsa.hALSA-specific PortAudio API extension header file
 pa_linux_pulseaudio.hPulseAudio-specific PortAudio API extension header file
 pa_mac_core.hCoreAudio-specific PortAudio API extension header file
 pa_win_ds.hDirectSound-specific PortAudio API extension header file
 pa_win_wasapi.hWASAPI-specific PortAudio API extension header file
 pa_win_waveformat.hWindows specific PortAudio API extension and utilities header file
 pa_win_wdmks.hWDM Kernel Streaming-specific PortAudio API extension header file
 pa_win_wmme.hWMME-specific PortAudio API extension header file
 portaudio.hThe portable PortAudio API
  qa
  loopback
 paqa_devs.cSelf Testing Quality Assurance app for PortAudio Try to open devices and run through all possible configurations. By default, open only the default devices. Command line options support opening every device, or all input devices, or all output devices. This test does not verify that the configuration works well. It just verifies that it does not crash. It requires a human to listen to the sine wave outputs
 paqa_dither.cTests the dither scaling and conversion accuracy in pa_converters.c
 paqa_errs.cSelf Testing Quality Assurance app for PortAudio Do lots of bad things to test error reporting
 paqa_latency.cTest latency estimates
 paqa_macros.h
  src
  common
  hostapi
  os
  test
 pa_minlat.cExperiment with different numbers of buffers to determine the minimum latency for a computer
 patest1.cRing modulate the audio input with a sine wave for 20 seconds
 patest_buffer.cTest opening streams with different buffer sizes
 patest_callbackstop.cTest the paComplete callback result code
 patest_clip.cPlay a sine wave for several seconds at an amplitude that would require clipping
 patest_converters.cTests the converter functions in pa_converters.c
 patest_dither.cAttempt to hear difference between dithered and non-dithered signal
 patest_dsound_find_best_latency_params.c
 patest_dsound_low_level_latency_params.c
 patest_dsound_surround.c
 patest_enumerate_default_latency.cList default latencies of available devices in table format
 patest_hang.cPlay a sine then hang audio callback to test watchdog
 patest_in_overflow.cCount input overflows (using paInputOverflow flag) under overloaded and normal conditions. This test uses the same method to overload the stream as does patest_out_underflow.c – it generates sine waves until the cpu load exceeds a certain level. However this test is only concerned with input and so doesn't output any sound
 patest_init.cInitialize and terminate PortAudio
 patest_jack_wasapi.c
 patest_latency.cHear the latency caused by big buffers. Play a sine wave and change frequency based on letter input
 patest_leftright.cPlay different tone sine waves that alternate between left and right channel
 patest_longsine.cPlay a sine wave until ENTER hit
 patest_many.cStart and stop the PortAudio Driver multiple times
 patest_maxsines.cHow many sine waves can we calculate and play in less than 80% CPU Load
 patest_mono.cPlay a monophonic sine wave using the Portable Audio api for several seconds
 patest_multi_sine.cPlay a different sine wave on each channel
 patest_out_underflow.cCount output underflows (using paOutputUnderflow flag) under overloaded and normal conditions
 patest_prime.cTest stream priming mode
 patest_read_record.cRecord input into an array; Save array to a file; Playback recorded data. Implemented using the blocking API (Pa_ReadStream(), Pa_WriteStream() )
 patest_read_record_wasapi.c
 patest_read_write_wire_wasapi.c
 patest_ringmix.cRing modulate inputs to left output, mix inputs to right output
 patest_sine8.cTest 8 bit data: play a sine wave for several seconds
 patest_sine_channelmaps.cPlays sine waves using sme simple channel maps. Designed for use with CoreAudio, but should made to work with other APIs
 patest_sine_formats.cPlay a sine wave for several seconds. Test various data formats
 patest_sine_srate.c
 patest_sine_time.cPlay a sine wave for several seconds, pausing in the middle. Uses the Pa_GetStreamTime() call
 patest_start_stop.cPlay a sine wave for several seconds. Start and stop the stream multiple times
 patest_stop.cTest different ways of stopping audio
 patest_stop_playout.cTest whether all queued samples are played when Pa_StopStream() is used with a callback or read/write stream, or when the callback returns paComplete
 patest_suggested_vs_streaminfo_latency.cPrint suggested vs. PaStreamInfo reported actual latency
 patest_sync.cTest time stamping and synchronization of audio and video
 patest_timing.cPlay a sine wave for several seconds, and spits out a ton of timing info while it's at it. Based on patest_sine.c
 patest_toomanysines.cPlay more sine waves than we can handle in real time as a stress test
 patest_two_rates.cPlay two streams at different rates to make sure they don't interfere
 patest_underflow.cSimulate an output buffer underflow condition. Tests whether the stream can be stopped when underflowing buffers
 patest_unplug.cDebug a crash involving unplugging a USB device
 patest_wasapi_ac3.cUse WASAPI-specific interface to send raw AC3 data to a S/PDIF output
 patest_wasapi_eac3.cUse WASAPI-specific interface to send raw EAC3 data to a S/PDIF output
 patest_wire.cPass input directly to output
 patest_wmme_find_best_latency_params.c
 patest_wmme_low_level_latency_params.c
 patest_write_stop.cPlay a few seconds of silence followed by a few cycles of a sine wave. Tests to make sure that pa_StopStream() completes playback in blocking I/O
 patest_write_stop_hang_illegal.c