Fix user-facing and non-user-facing typos
Found via `codespell v2.1.dev0`
This commit is contained in:
parent
37a97ac470
commit
e1c3e59ee8
116 changed files with 233 additions and 233 deletions
|
|
@ -12,7 +12,7 @@ PortAudioCpp v19 revision 15 (unknown release date):
|
|||
|
||||
mblaauw:
|
||||
- Changed some exception handling code in HostApi's constructor.
|
||||
- Added accessors to PortAudio PaStream from PortAudioCpp Stream (their absense being pointed out
|
||||
- Added accessors to PortAudio PaStream from PortAudioCpp Stream (their absence being pointed out
|
||||
by Tom Jordan).
|
||||
- Fixed a bug/typo in MemFunToCallbackInterfaceAdapter::init() thanks to Fredrik Viklund.
|
||||
- Fixed issue with concrete Stream classes possibly throwing an exception and fixed documentation w.r.t. this.
|
||||
|
|
@ -37,14 +37,14 @@ PortAudioCpp v19 revision 13 03/10/19:
|
|||
the std::exception base class's what() member function (which had throw(), i.e. no-throw guarantee).
|
||||
- Changed the iterators so that they have a set of public typedefs instead of deriving the C++ standard
|
||||
library std::iterator<> struct. G++ 2.95 doesn't support std::exception<> and composition-by-aggregation
|
||||
is prefered over composition-by-inheritance in this case.
|
||||
is preferred over composition-by-inheritance in this case.
|
||||
- Changed some minor things to avoid G++ warning messages.
|
||||
|
||||
mblaauw:
|
||||
- Renamed this file (/WHATSNEW.txt) to /CHANGELOG.
|
||||
- Renamed /PA_ISSUES.txt to /PA_ISSUES.
|
||||
- Added /INSTALL file with some build info for GNU/Linux and VC6.
|
||||
- Added MSVC 6.0 projects for building PortAudioCpp as a staticly or dynamically linkable library.
|
||||
- Added MSVC 6.0 projects for building PortAudioCpp as a statically or dynamically linkable library.
|
||||
- Moved build files to /build/(gnu/ or vc6/).
|
||||
- Moved Doxygen configuration files to /doc/ and output to /doc/api_reference/.
|
||||
- Added a /doc/README with some info how to generate Doxygen documentation.
|
||||
|
|
@ -82,7 +82,7 @@ PortAudioCpp v19 revision 09 03/06/25:
|
|||
mblaauw:
|
||||
- Changed some things in SingleDirectionStreamParameters to ease it's usage.
|
||||
- Placed all SingleDirectionStreamParameters stuff into a separate file.
|
||||
+ Totally redid the callback stuff, now it's less ackward and supports C++ functions.
|
||||
+ Totally redid the callback stuff, now it's less awkward and supports C++ functions.
|
||||
|
||||
PortAudioCpp v19 revision 08 03/06/20:
|
||||
|
||||
|
|
|
|||
2
bindings/cpp/aclocal.m4
vendored
2
bindings/cpp/aclocal.m4
vendored
|
|
@ -657,7 +657,7 @@ configured by $[0], generated by m4_PACKAGE_STRING.
|
|||
|
||||
Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
This config.lt script is free software; the Free Software Foundation
|
||||
gives unlimited permision to copy, distribute and modify it."
|
||||
gives unlimited permission to copy, distribute and modify it."
|
||||
|
||||
while test $[#] != 0
|
||||
do
|
||||
|
|
|
|||
BIN
bindings/cpp/build/gnu/config.guess
vendored
BIN
bindings/cpp/build/gnu/config.guess
vendored
Binary file not shown.
|
|
@ -158,19 +158,19 @@ int main(int, char*[])
|
|||
}
|
||||
catch (const portaudio::PaException &e)
|
||||
{
|
||||
std::cout << "A PortAudio error occured: " << e.paErrorText() << std::endl;
|
||||
std::cout << "A PortAudio error occurred: " << e.paErrorText() << std::endl;
|
||||
}
|
||||
catch (const portaudio::PaCppException &e)
|
||||
{
|
||||
std::cout << "A PortAudioCpp error occured: " << e.what() << std::endl;
|
||||
std::cout << "A PortAudioCpp error occurred: " << e.what() << std::endl;
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cout << "A generic exception occured: " << e.what() << std::endl;
|
||||
std::cout << "A generic exception occurred: " << e.what() << std::endl;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
std::cout << "An unknown exception occured." << std::endl;
|
||||
std::cout << "An unknown exception occurred." << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -116,19 +116,19 @@ int main(int, char *[])
|
|||
}
|
||||
catch (const portaudio::PaException &e)
|
||||
{
|
||||
std::cout << "A PortAudio error occured: " << e.paErrorText() << std::endl;
|
||||
std::cout << "A PortAudio error occurred: " << e.paErrorText() << std::endl;
|
||||
}
|
||||
catch (const portaudio::PaCppException &e)
|
||||
{
|
||||
std::cout << "A PortAudioCpp error occured: " << e.what() << std::endl;
|
||||
std::cout << "A PortAudioCpp error occurred: " << e.what() << std::endl;
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cout << "A generic exception occured: " << e.what() << std::endl;
|
||||
std::cout << "A generic exception occurred: " << e.what() << std::endl;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
std::cout << "An unknown exception occured." << std::endl;
|
||||
std::cout << "An unknown exception occurred." << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace portaudio
|
|||
//////
|
||||
/// @brief Adapts the given Device to an ASIO specific extension.
|
||||
///
|
||||
/// Deleting the AsioDeviceAdapter does not affect the underlaying
|
||||
/// Deleting the AsioDeviceAdapter does not affect the underlying
|
||||
/// Device.
|
||||
//////
|
||||
class AsioDeviceAdapter
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace portaudio
|
|||
{
|
||||
public:
|
||||
// query info: name, max in channels, max out channels,
|
||||
// default low/hight input/output latency, default sample rate
|
||||
// default low/high input/output latency, default sample rate
|
||||
PaDeviceIndex index() const;
|
||||
const char *name() const;
|
||||
int maxInputChannels() const;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace portaudio
|
|||
/// other code.
|
||||
///
|
||||
/// To know what exceptions each function may throw, look up
|
||||
/// the errors that can occure in the PortAudio documentation
|
||||
/// the errors that can occur in the PortAudio documentation
|
||||
/// for the equivalent functions.
|
||||
///
|
||||
/// Some functions are likely to throw an exception (such as
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ namespace portaudio
|
|||
/// A single System can support multiple HostApi's each one typically having
|
||||
/// a set of Devices using that HostApi (usually driver type). All Devices in
|
||||
/// the HostApi can be enumerated and the default input/output Device for this
|
||||
/// HostApi can be retreived.
|
||||
/// HostApi can be retrieved.
|
||||
//////
|
||||
class HostApi
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
/// Other platforms should be easily supported as PortAudioCpp is platform-independent and (reasonably) C++ standard compliant.
|
||||
/// </p>
|
||||
/// <p>
|
||||
/// This documentation mainly provides information specific to PortAudioCpp. For a more complete explaination of all of the
|
||||
/// This documentation mainly provides information specific to PortAudioCpp. For a more complete explanation of all of the
|
||||
/// concepts used, please consult the PortAudio documentation.
|
||||
/// </p>
|
||||
/// <p>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace portaudio
|
|||
/// clients need to explicitly call close() to ensure the stream closed successfully.
|
||||
///
|
||||
/// The Stream object can be used to manipulate the Stream's state. Also, time-constant
|
||||
/// and time-varying information about the Stream can be retreived.
|
||||
/// and time-varying information about the Stream can be retrieved.
|
||||
//////
|
||||
class Stream
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace portaudio
|
|||
/// @brief System singleton which represents the PortAudio system.
|
||||
///
|
||||
/// The System is used to initialize/terminate PortAudio and provide
|
||||
/// a single acccess point to the PortAudio System (instance()).
|
||||
/// a single access point to the PortAudio System (instance()).
|
||||
/// It can be used to iterate through all HostApi 's in the System as
|
||||
/// well as all devices in the System. It also provides some utility
|
||||
/// functionality of PortAudio.
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ namespace portaudio
|
|||
//////
|
||||
/// Sets the requested sample rate. If this sample rate isn't supported by the hardware, the
|
||||
/// Stream will fail to open. The real-life sample rate used might differ slightly due to
|
||||
/// imperfections in the sound card hardware; use Stream::sampleRate() to retreive the
|
||||
/// imperfections in the sound card hardware; use Stream::sampleRate() to retrieve the
|
||||
/// best known estimate for this value.
|
||||
//////
|
||||
void StreamParameters::setSampleRate(double sampleRate)
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ public class TestBasic extends TestCase
|
|||
e.printStackTrace();
|
||||
}
|
||||
|
||||
assertTrue( "caught no expection", (caught != null) );
|
||||
assertTrue( "caught no exception", (caught != null) );
|
||||
assertTrue( "exception should say stream is stopped", caught
|
||||
.getMessage().contains( "stopped" ) );
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ public class TestBasic extends TestCase
|
|||
caught = e;
|
||||
e.printStackTrace();
|
||||
}
|
||||
assertTrue( "caught no expection", (caught != null) );
|
||||
assertTrue( "caught no exception", (caught != null) );
|
||||
assertTrue( "exception should say stream is stopped", caught
|
||||
.getMessage().contains( "null" ) );
|
||||
|
||||
|
|
@ -251,7 +251,7 @@ public class TestBasic extends TestCase
|
|||
e.printStackTrace();
|
||||
}
|
||||
|
||||
assertTrue( "caught no expection", (caught != null) );
|
||||
assertTrue( "caught no exception", (caught != null) );
|
||||
assertTrue( "exception should say tried to", caught.getMessage()
|
||||
.contains( "Tried to write short" ) );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue