You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
falkTX e03448bd15 Include windows header early 3 years ago
cmake cmake: make CMakeLists.txt more similar to RtMidi's 5 years ago
contrib PyRtAudio: demo of how to use numpy 3 years ago
doc A few minor documentation updates for release 5.1.0. 4 years ago
include Include windows header early 3 years ago
tests [automake, cmake] add apinames as automated test 4 years ago
.gitattributes Prevent .gitignore and friends from being exported to the final archive 6 years ago
.gitignore fix cmake build system missing variables in pkgconfig 5 years ago
.travis.yml Remove Travis config for non-existent '--with-winmm' option 5 years ago
CMakeLists.txt CMake: fix Windows detection 3 years ago
ChangeLog Realtime fixes 5 years ago
LICENSE Add a separate LICENSE file. 3 years ago
Makefile.am [automake] add CMakeLists.txt to EXTRA_DIST 4 years ago
README.md Add a separate LICENSE file. 3 years ago
RtAudio.cpp Slight optimization 4 years ago
RtAudio.h Documentation and version updates before release 5.1.0 4 years ago
autogen.sh Port the build system to automake. 7 years ago
configure.ac Documentation and version updates before release 5.1.0 4 years ago
install.txt Documentation and version updates before release 5.1.0 4 years ago
rtaudio.pc.in automake: Fix rtaudio.pc prefix variable 5 years ago
rtaudio_c.cpp rtaudio_num_comiled_api renamed rtaudio_get_num_compiled_apis 4 years ago
rtaudio_c.h [doc] document C interface. 4 years ago

README.md

RtAudio

Build Status

A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO and WASAPI) operating systems.

By Gary P. Scavone, 2001-2019 (and many other developers!)

This distribution of RtAudio contains the following:

  • doc: RtAudio documentation (see doc/html/index.html)
  • tests: example RtAudio programs
  • include: header and source files necessary for ASIO, DS & OSS compilation
  • tests/Windows: Visual C++ .net test program workspace and projects

Overview

RtAudio is a set of C++ classes that provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X and Windows (DirectSound, ASIO and WASAPI) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives:

  • object-oriented C++ design
  • simple, common API across all supported platforms
  • only one source and one header file for easy inclusion in programming projects
  • allow simultaneous multi-api support
  • support dynamic connection of devices
  • provide extensive audio device parameter control
  • allow audio device capability probing
  • automatic internal conversion for data format, channel number compensation, (de)interleaving, and byte-swapping

RtAudio incorporates the concept of audio streams, which represent audio output (playback) and/or input (recording). Available audio devices and their capabilities can be enumerated and then specified when opening a stream. Where applicable, multiple API support can be compiled and a particular API specified when creating an RtAudio instance. See the \ref apinotes section for information specific to each of the supported audio APIs.

Further Reading

For complete documentation on RtAudio, see the doc directory of the distribution or surf to http://www.music.mcgill.ca/~gary/rtaudio/.

The RtAudio license is similar to the MIT License. Please see LICENSE.