annotate src/portaudio_20140130/README.txt @ 79:91c729825bca pa_catalina

Update build for AUDIO_COMPONENT_FIX
author Chris Cannam
date Wed, 30 Oct 2019 12:40:34 +0000
parents 7ddb4fc30dac
children
rev   line source
Chris@39 1 README for PortAudio
Chris@39 2
Chris@39 3 /*
Chris@39 4 * PortAudio Portable Real-Time Audio Library
Chris@39 5 * Latest Version at: http://www.portaudio.com
Chris@39 6 *
Chris@39 7 * Copyright (c) 1999-2008 Phil Burk and Ross Bencina
Chris@39 8 *
Chris@39 9 * Permission is hereby granted, free of charge, to any person obtaining
Chris@39 10 * a copy of this software and associated documentation files
Chris@39 11 * (the "Software"), to deal in the Software without restriction,
Chris@39 12 * including without limitation the rights to use, copy, modify, merge,
Chris@39 13 * publish, distribute, sublicense, and/or sell copies of the Software,
Chris@39 14 * and to permit persons to whom the Software is furnished to do so,
Chris@39 15 * subject to the following conditions:
Chris@39 16 *
Chris@39 17 * The above copyright notice and this permission notice shall be
Chris@39 18 * included in all copies or substantial portions of the Software.
Chris@39 19 *
Chris@39 20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Chris@39 21 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Chris@39 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Chris@39 23 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
Chris@39 24 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
Chris@39 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
Chris@39 26 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Chris@39 27 */
Chris@39 28
Chris@39 29 /*
Chris@39 30 * The text above constitutes the entire PortAudio license; however,
Chris@39 31 * the PortAudio community also makes the following non-binding requests:
Chris@39 32 *
Chris@39 33 * Any person wishing to distribute modifications to the Software is
Chris@39 34 * requested to send the modifications to the original developer so that
Chris@39 35 * they can be incorporated into the canonical version. It is also
Chris@39 36 * requested that these non-binding requests be included along with the
Chris@39 37 * license above.
Chris@39 38 */
Chris@39 39
Chris@39 40
Chris@39 41 PortAudio is a portable audio I/O library designed for cross-platform
Chris@39 42 support of audio. It uses either a callback mechanism to request audio
Chris@39 43 processing, or blocking read/write calls to buffer data between the
Chris@39 44 native audio subsystem and the client. Audio can be processed in various
Chris@39 45 formats, including 32 bit floating point, and will be converted to the
Chris@39 46 native format internally.
Chris@39 47
Chris@39 48 Documentation:
Chris@39 49 Documentation is available in "/doc/html/index.html"
Chris@39 50 Also see "src/common/portaudio.h" for API spec.
Chris@39 51 Also see http://www.portaudio.com/docs/
Chris@39 52 And see the "test/" directory for many examples of usage
Chris@39 53 (we suggest "test/patest_saw.c" for an example)
Chris@39 54
Chris@39 55 For information on compiling programs with PortAudio, please see the
Chris@39 56 tutorial at:
Chris@39 57
Chris@39 58 http://portaudio.com/trac/wiki/TutorialDir/TutorialStart
Chris@39 59
Chris@39 60 We have an active mailing list for user and developer discussions.
Chris@39 61 Please feel free to join. See http://www.portaudio.com for details.
Chris@39 62
Chris@39 63
Chris@39 64 Important Files and Folders:
Chris@39 65 include/portaudio.h = header file for PortAudio API. Specifies API.
Chris@39 66 src/common/ = platform independant code, host independant
Chris@39 67 code for all implementations.
Chris@39 68 src/os = os specific (but host api neutral) code
Chris@39 69 src/hostapi = implementations for different host apis
Chris@39 70
Chris@39 71
Chris@39 72 Host API Implementations:
Chris@39 73 src/hostapi/alsa = Advanced Linux Sound Architecture (ALSA)
Chris@39 74 src/hostapi/asihpi = AudioScience HPI
Chris@39 75 src/hostapi/asio = ASIO for Windows and Macintosh
Chris@39 76 src/hostapi/coreaudio = Macintosh Core Audio for OS X
Chris@39 77 src/hostapi/dsound = Windows Direct Sound
Chris@39 78 src/hostapi/jack = JACK Audio Connection Kit
Chris@39 79 src/hostapi/oss = Unix Open Sound System (OSS)
Chris@39 80 src/hostapi/wasapi = Windows Vista WASAPI
Chris@39 81 src/hostapi/wdmks = Windows WDM Kernel Streaming
Chris@39 82 src/hostapi/wmme = Windows MultiMedia Extensions (MME)
Chris@39 83
Chris@39 84
Chris@39 85 Test Programs:
Chris@39 86 test/pa_fuzz.c = guitar fuzz box
Chris@39 87 test/pa_devs.c = print a list of available devices
Chris@39 88 test/pa_minlat.c = determine minimum latency for your machine
Chris@39 89 test/paqa_devs.c = self test that opens all devices
Chris@39 90 test/paqa_errs.c = test error detection and reporting
Chris@39 91 test/patest_clip.c = hear a sine wave clipped and unclipped
Chris@39 92 test/patest_dither.c = hear effects of dithering (extremely subtle)
Chris@39 93 test/patest_pink.c = fun with pink noise
Chris@39 94 test/patest_record.c = record and playback some audio
Chris@39 95 test/patest_maxsines.c = how many sine waves can we play? Tests Pa_GetCPULoad().
Chris@39 96 test/patest_sine.c = output a sine wave in a simple PA app
Chris@39 97 test/patest_sync.c = test syncronization of audio and video
Chris@39 98 test/patest_wire.c = pass input to output, wire simulator