Skip to content

Commit 0e11b50

Browse files
committed
Updates to documentation, version number in preparation for release 6.0.0.
1 parent 5045d3b commit 0e11b50

File tree

12 files changed

+19
-19
lines changed

12 files changed

+19
-19
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
RtAudio: a set of realtime audio i/o C++ classes
3-
Copyright (c) 2001-2021 Gary P. Scavone
3+
Copyright (c) 2001-2023 Gary P. Scavone
44

55
Permission is hereby granted, free of charge, to any person
66
obtaining a copy of this software and associated documentation files

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
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.
66

7-
By Gary P. Scavone, 2001-2022 (and many other developers!)
7+
By Gary P. Scavone, 2001-2023 (and many other developers!)
88

99
This distribution of RtAudio contains the following:
1010

RtAudio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RtAudio WWW site: http://www.music.mcgill.ca/~gary/rtaudio/
1212
1313
RtAudio: realtime audio i/o C++ classes
14-
Copyright (c) 2001-2022 Gary P. Scavone
14+
Copyright (c) 2001-2023 Gary P. Scavone
1515
1616
Permission is hereby granted, free of charge, to any person
1717
obtaining a copy of this software and associated documentation files
@@ -39,7 +39,7 @@
3939
*/
4040
/************************************************************************/
4141

42-
// RtAudio: Version 6.0.0beta1
42+
// RtAudio: Version 6.0.0
4343

4444
#include "RtAudio.h"
4545
#include <iostream>

RtAudio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RtAudio WWW site: http://www.music.mcgill.ca/~gary/rtaudio/
1212
1313
RtAudio: realtime audio i/o C++ classes
14-
Copyright (c) 2001-2022 Gary P. Scavone
14+
Copyright (c) 2001-2023 Gary P. Scavone
1515
1616
Permission is hereby granted, free of charge, to any person
1717
obtaining a copy of this software and associated documentation files
@@ -49,7 +49,7 @@
4949
#define RTAUDIO_VERSION_MAJOR 6
5050
#define RTAUDIO_VERSION_MINOR 0
5151
#define RTAUDIO_VERSION_PATCH 0
52-
#define RTAUDIO_VERSION_BETA 1
52+
#define RTAUDIO_VERSION_BETA 0
5353

5454
#define RTAUDIO_TOSTRING2(n) #n
5555
#define RTAUDIO_TOSTRING(n) RTAUDIO_TOSTRING2(n)

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Process this file with autoconf to produce a configure script.
22

3-
AC_INIT(RtAudio, 6.0.0beta1, [email protected], rtaudio)
3+
AC_INIT(RtAudio, 6.0.0, [email protected], rtaudio)
44
AC_CONFIG_AUX_DIR(config)
55
AC_CONFIG_SRCDIR(RtAudio.cpp)
66
AC_CONFIG_FILES([rtaudio.pc Makefile tests/Makefile doc/Makefile doc/Doxyfile])
@@ -20,7 +20,7 @@ AM_INIT_AUTOMAKE([1.14 -Wall -Werror foreign subdir-objects])
2020
# If any interfaces have been removed since the last public release, then set
2121
# age to 0.
2222
m4_define([lt_current], 6)
23-
m4_define([lt_revision], 2)
23+
m4_define([lt_revision], 0)
2424
m4_define([lt_age], 0)
2525

2626
m4_define([lt_version_info], [lt_current:lt_revision:lt_age])

doc/doxygen/error.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*! \page errors Error Handling
22

3-
RtAudio no longer makes use of C++ exceptions. Instead, the functions RtAudio::openStream(), RtAudio::startStream(), RtAudio::stopStream(), RtAudio::abortStream()) return an RtAudioErrorType variable, which will be RTAUDIO_NO_ERROR when successful. Details of the error can be obtained using an error callback function or by calling the RtAudio::getErrorText() function. In other cases, a warning message may be displayed and an appropriate value is returned. For example, if a system error occurs when processing the RtAudio::getDeviceCount() function, the return value is zero. In such a case, the user cannot expect to make use of most other RtAudio functions because no devices are available (and thus a stream cannot be opened). A client can call the function RtAudio::showWarnings() with a boolean argument to enable or disable the printing of warning messages to <tt>stderr</tt>. By default, warning messages are displayed. There is a protected RtAudio method, error(), that can be modified to globally control how these messages are handled and reported.
3+
RtAudio no longer makes use of C++ exceptions. Instead, the functions RtAudio::openStream(), RtAudio::startStream(), RtAudio::stopStream(), RtAudio::abortStream()) return an RtAudioErrorType variable, which will be RTAUDIO_NO_ERROR (value = 0) when successful. Any non-zero return value from those functions indicates an error has occurred. If an RtAudioErrorCallback() function has been set, the #RtAudioErrorType and textual details will be provided through that function. One can also obtain the last error message by calling the RtAudio::getErrorText() function. For all other functions, a warning message may be produced (returned through the RtAudioErrorCallback() if set, otherwise printed to <tt>stderr</tt>) and an appropriate value is returned. For example, if a system error occurs when processing the RtAudio::getDeviceCount() function, the return value is zero. In such a case, the user cannot expect to make use of most other RtAudio functions because no devices are available (and thus a stream cannot be opened). A client can call the function RtAudio::showWarnings() with a boolean argument to enable or disable the return or printing of warning messages (default value is enabled). There is a protected RtAudio method, error(), that can be modified to globally control how these messages are handled and reported.
44

55
*/

doc/doxygen/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<HR>
22

33
<table><tr><td><img src="../images/mcgill.gif" width=165></td>
4-
<td>&copy;2001-2022 Gary P. Scavone, McGill University. All Rights Reserved.<br>Maintained by <a href="http://www.music.mcgill.ca/~gary/">Gary P. Scavone</a>.</td></tr>
4+
<td>&copy;2001-2023 Gary P. Scavone, McGill University. All Rights Reserved.<br>Maintained by <a href="http://www.music.mcgill.ca/~gary/">Gary P. Scavone</a>.</td></tr>
55
</table>
66

77
</BODY>

doc/doxygen/license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*! \page license License
22

33
RtAudio: a set of realtime audio i/o C++ classes<BR>
4-
Copyright (c) 2001-2021 Gary P. Scavone
4+
Copyright (c) 2001-2023 Gary P. Scavone
55

66
Permission is hereby granted, free of charge, to any person
77
obtaining a copy of this software and associated documentation files

doc/doxygen/settings.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ int main()
3232
}
3333
\endcode
3434

35-
The RtAudio::openStream() function attempts to open a stream with a specified set of parameter values. In the above example, we attempt to open a two channel playback stream using the default output device, 32-bit floating point data, a sample rate of 44100 Hz, and a frame rate of 256 sample frames per output buffer. If the user specifies an invalid parameter value (such as an unsupported sample rate or an invalid device ID), a non-zero RtAudioErrorType value of RTAUDIO_INVALID_PARAMETER (or perhaps RTAUDIO_INVALID_USE) is returned. If a system error occurs when attempting to open the stream, an RtAudioErrorType of RTAUDIO_SYSTEM_ERROR is returned. In either case, a descriptive error message can be retrieved using the RtAudio::getErrorText() function.
35+
The RtAudio::openStream() function attempts to open a stream with a specified set of parameter values. In the above example, we attempt to open a two channel playback stream using the default output device, 32-bit floating point data, a sample rate of 44100 Hz, and a frame rate of 256 sample frames per output buffer. If the user specifies an invalid parameter value (such as an unsupported sample rate or an invalid device ID), a non-zero #RtAudioErrorType value of RTAUDIO_INVALID_PARAMETER (or perhaps RTAUDIO_INVALID_USE) is returned. If a system error occurs when attempting to open the stream, an #RtAudioErrorType of RTAUDIO_SYSTEM_ERROR is returned. In either case, a descriptive error message can be retrieved using the RtAudio::getErrorText() function.
3636

37-
RtAudio provides four signed integer and two floating point data formats which can be specified using the RtAudioFormat parameter values mentioned earlier. If the opened device does not natively support the given format, RtAudio will automatically perform the necessary data format conversion.
37+
RtAudio provides four signed integer and two floating point data formats that can be specified using the RtAudioFormat parameter values mentioned earlier. If the opened device does not natively support the given format, RtAudio will automatically perform the necessary data format conversion.
3838

3939
The \c bufferFrames parameter specifies the desired number of sample frames that will be written to and/or read from a device per write/read operation. This parameter can be used to control stream latency though there is no guarantee that the passed value will be that used by a device. In general, a lower \c bufferFrames value will produce less latency but perhaps less robust performance. A value of zero can be specified, in which case the smallest allowable value will be used. The \c bufferFrames parameter is passed as a pointer and the actual value used by the stream is set during the device setup procedure. \c bufferFrames values should be a power of two. Optimal and allowable buffer values tend to vary between systems and devices. Stream latency can also be controlled via the optional RtAudio::StreamOptions member \c numberOfBuffers (not used in the example above), though this tends to be more system dependent. In particular, the \c numberOfBuffers parameter is ignored when using the OS-X Core Audio, Jack, and the Windows ASIO APIs.
4040

4141
As noted earlier, the device capabilities reported by a driver or underlying audio API are not always accurate and/or may be dependent on a combination of device settings (for example, higher sample rates may reduce the maximum number of channels). Because of this, RtAudio does not attempt to query a device's capabilities or use previously reported values when opening a device. Instead, RtAudio simply attempts to set the given parameters on a specified device and then checks whether the setup is successful or not.
4242

43-
The RtAudioCallback parameter above is a pointer to a user-defined function that will be called whenever the audio system is ready for new output data or has new input data to be read. Further details on the use of a callback function are provided in the next section.
43+
The RtAudioCallback() parameter above is a pointer to a user-defined function that will be called whenever the audio system is ready for new output data or has new input data to be read. Further details on the use of a callback function are provided in the next section.
4444

4545
Several stream options are available to fine-tune the behavior of an audio stream. In the example above, we specify that data will be written by the user in a \e non-interleaved format via the RtAudio::StreamOptions member \c flags. That is, all \c bufferFrames of the first channel should be written consecutively, followed by all \c bufferFrames of the second channel. By default (when no option is specified), RtAudio expects data to be written in an \e interleaved format.
4646

doc/doxygen/tutorial.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ RtAudio incorporates the concept of audio streams, which represent audio output
1717

1818
Changes in this release include:
1919

20-
- complete rewrite of device enumeration scheme for all APIs to provide persistent IDs (significant API change)
20+
- complete rewrite of device enumeration scheme for all APIs to provide persistent IDs within a given instance (significant API change)
2121
- discontinued use of C++ exceptions, switched to error code return values from various functions (significant API change)
2222
- corresponding updates to test programs and documentation
2323
- see git history for complete list of changes
2424

2525
\section download Download
2626

27-
Latest Release (?? 2022): <A href="http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-6.0.0.tar.gz">Version 6.0.0</A>
27+
Latest Release (21 July 2023): <A href="http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-6.0.0.tar.gz">Version 6.0.0</A>
2828

2929
\section documentation Documentation Links
3030

0 commit comments

Comments
 (0)