~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/rtaudio/readme

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
RtAudio - a set of C++ classes which provide a common API for realtime audio input/output across Linux (native ALSA, JACK, and OSS), SGI, Macintosh OS X (CoreAudio), and Windows (DirectSound and ASIO) operating systems.
2
 
 
3
 
By Gary P. Scavone, 2001-2004.
4
 
 
5
 
Modified for Audacity distribution by Dominic Mazzoni, 2006.  The
6
 
configure/make system builds librtaudio.a and rtaudio-config, and
7
 
ASIO has been removed for licensing reasons.
8
 
 
9
 
This distribution of RtAudio contains the following:
10
 
 
11
 
doc:      RtAudio documentation (see doc/html/index.html)
12
 
tests:    example RtAudio programs
13
 
tests/Windows: Visual C++ 6.0 test program workspace and projects
14
 
 
15
 
OVERVIEW:
16
 
 
17
 
RtAudio is a set of C++ classes which provide a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, JACK, and OSS), SGI, Macintosh OS X (CoreAudio), and Windows (DirectSound and ASIO) operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following goals:
18
 
 
19
 
  - object oriented C++ design
20
 
  - simple, common API across all supported platforms
21
 
  - only two header files and one source file for easy inclusion in programming projects
22
 
  - allow simultaneous multi-api support
23
 
  - blocking functionality
24
 
  - callback functionality
25
 
  - extensive audio device parameter control
26
 
  - audio device capability probing
27
 
  - automatic internal conversion for data format, channel number compensation, de-interleaving, and byte-swapping
28
 
 
29
 
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.
30
 
 
31
 
The RtAudio API provides both blocking (synchronous) and callback (asyncronous) functionality. Callbacks are typically used in conjunction with graphical user interfaces (GUI). Blocking functionality is often necessary for explicit control of multiple input/output stream synchronization or when audio must be synchronized with other system events. 
32
 
 
33
 
 
34
 
FURTHER READING:
35
 
 
36
 
For complete documentation on RtAudio, see the doc directory of the distribution or surf to http://music.mcgill.ca/~gary/rtaudio/.
37
 
 
38
 
 
39
 
LEGAL AND ETHICAL:
40
 
 
41
 
The RtAudio license is similar to the the MIT License, with the added "feature" that modifications be sent to the developer.
42
 
 
43
 
    RtAudio: a set of realtime audio i/o C++ classes
44
 
    Copyright (c) 2001-2004 Gary P. Scavone
45
 
 
46
 
    Permission is hereby granted, free of charge, to any person
47
 
    obtaining a copy of this software and associated documentation files
48
 
    (the "Software"), to deal in the Software without restriction,
49
 
    including without limitation the rights to use, copy, modify, merge,
50
 
    publish, distribute, sublicense, and/or sell copies of the Software,
51
 
    and to permit persons to whom the Software is furnished to do so,
52
 
    subject to the following conditions:
53
 
 
54
 
    The above copyright notice and this permission notice shall be
55
 
    included in all copies or substantial portions of the Software.
56
 
 
57
 
    Any person wishing to distribute modifications to the Software is
58
 
    requested to send the modifications to the original developer so that
59
 
    they can be incorporated into the canonical version.
60
 
 
61
 
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
62
 
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
63
 
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
64
 
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
65
 
    ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
66
 
    CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
67
 
    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.