PortAudio portable cross-platform audio I/O library (fork)
  • C 51.1%
  • Shell 33.2%
  • C++ 11.6%
  • Makefile 2.3%
  • Java 0.8%
  • Other 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
philburk 390f193042 Added WatchDog proc if audio running at high priority.
Check error return from read() and write().
Check CPU endianness instead of assuming Little Endian.
2002-02-22 21:40:48 +00:00
pa_asio New Pa_ASIO_loadDriver that calls CoInitialize on each thread on Windows 2002-02-19 13:45:51 +00:00
pa_beos Initial revision 2002-01-22 00:51:49 +00:00
pa_common more comment cleanups, removed incorrect synthetic device 0 comment 2002-01-24 22:42:56 +00:00
pa_dll_switch Initial revision 2002-01-22 00:51:49 +00:00
pa_mac Initial revision 2002-01-22 00:51:49 +00:00
pa_mac_core Explicit cast needed for compilation with Code Warrior 7 2002-02-22 10:28:39 +00:00
pa_sgi Initial revision 2002-01-22 00:51:49 +00:00
pa_tests add fflush(stdout) so we can see progress 2002-02-07 17:57:44 +00:00
pa_unix_oss Added WatchDog proc if audio running at high priority. 2002-02-22 21:40:48 +00:00
pa_win_ds Initial revision 2002-01-22 00:51:49 +00:00
pa_win_wmme Initial revision 2002-01-22 00:51:49 +00:00
pablio Initial revision 2002-01-22 00:51:49 +00:00
testcvs test tweak 2002-02-22 00:50:50 +00:00
fixdir.bat Initial revision 2002-01-22 00:51:49 +00:00
fixfile.bat Used to prepare files for checkin on Windows 2002-02-19 20:04:47 +00:00
LICENSE.txt Added README and LICENSE so we can make nightly builds from CVS 2002-02-19 20:04:26 +00:00
Makefile.linux Initial revision 2002-01-22 00:51:49 +00:00
Makefile.mingw from Bill Eldridge 2002-02-20 17:57:44 +00:00
README.txt Added README and LICENSE so we can make nightly builds from CVS 2002-02-19 20:04:26 +00:00

README for PortAudio
Implementations for PC DirectSound and Mac SoundManager

/*
 * PortAudio Portable Real-Time Audio Library
 * Latest Version at: http://www.portaudio.com//
 *
 * Copyright (c) 1999-2000 Phil Burk and Ross Bencina
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files
 * (the "Software"), to deal in the Software without restriction,
 * including without limitation the rights to use, copy, modify, merge,
 * publish, distribute, sublicense, and/or sell copies of the Software,
 * and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * Any person wishing to distribute modifications to the Software is
 * requested to send the modifications to the original developer so that
 * they can be incorporated into the canonical version.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */

PortAudio is a portable audio I/O library designed for cross-platform
support of audio. It uses a callback mechanism to request audio processing.
Audio can be generated in various formats, including 32 bit floating point,
and will be converted to the native format internally.

Documentation:
	See "pa_common/portaudio.h" for API spec.
	See docs folder for a tutorial.
	Also see http://www.portaudio.com/docs/
	And see "pa_tests/patest_saw.c" for an example.

For information on compiling programs with PortAudio, please see the
tutorial at:

  http://www.portaudio.com/docs/pa_tutorial.html
  
Important Files and Folders:
	pa_common/              = platform independant code
	pa_common/portaudio.h   = header file for PortAudio API. Specifies API.
	pa_common/pa_lib.c      = host independant code for all implementations.

    pablio                  = simple blocking read/write interface
    
Platform Implementations
    pa_asio                 = ASIO for Windows and Macintosh
    pa_beos                 = BeOS
    pa_mac                  = Macintosh Sound Manager for OS 8,9 and Carbon
    pa_mac_core             = Macintosh Core Audio for OS X
    pa_sgi                  = Silicon Graphics AL
    pa_unix_oss             = OSS implementation for various Unixes
    pa_win_ds               = Windows Direct Sound
    pa_win_wmme             = Windows MME (most widely supported)
    
Test Programs
	pa_tests/pa_fuzz.c = guitar fuzz box
	pa_tests/pa_devs.c = print a list of available devices
	pa_tests/pa_minlat.c = determine minimum latency for your machine
	pa_tests/paqa_devs.c = self test that opens all devices
	pa_tests/paqa_errs.c = test error detection and reporting
	pa_tests/patest_clip.c = hear a sine wave clipped and unclipped
	pa_tests/patest_dither.c = hear effects of dithering (extremely subtle)
	pa_tests/patest_pink.c = fun with pink noise
	pa_tests/patest_record.c = record and playback some audio
	pa_tests/patest_maxsines.c = how many sine waves can we play? Tests Pa_GetCPULoad().
	pa_tests/patest_sine.c = output a sine wave in a simple PA app
	pa_tests/patest_sync.c = test syncronization of audio and video
	pa_tests/patest_wire.c = pass input to output, wire simulator