Fix several typos (#8090)
This cleans up typos in source comments and some user-facing strings. Found via `codespell -q 3 -S "./plugins,./src/3rdparty,./data/locale,*.in,*.xpf" -L continous,currenty,globaly,inports,localy,nd,ot,sie,te,trough`
This commit is contained in:
@@ -297,14 +297,14 @@ class InterleavedBufferView : public detail::BufferViewData<T, channelCount>
|
||||
public:
|
||||
using Base::Base;
|
||||
|
||||
//! Contruct const from mutable (static channel count)
|
||||
//! Construct const from mutable (static channel count)
|
||||
template<typename U = T> requires (std::is_const_v<U> && channelCount != DynamicChannelCount)
|
||||
constexpr InterleavedBufferView(InterleavedBufferView<std::remove_const_t<U>, channelCount> other) noexcept
|
||||
: Base{other.data(), other.frames()}
|
||||
{
|
||||
}
|
||||
|
||||
//! Contruct const from mutable (dynamic channel count)
|
||||
//! Construct const from mutable (dynamic channel count)
|
||||
template<typename U = T> requires (std::is_const_v<U> && channelCount == DynamicChannelCount)
|
||||
constexpr InterleavedBufferView(InterleavedBufferView<std::remove_const_t<U>, channelCount> other) noexcept
|
||||
: Base{other.data(), other.channels(), other.frames()}
|
||||
@@ -474,14 +474,14 @@ class PlanarBufferView : public detail::BufferViewData<T* const, channelCount>
|
||||
public:
|
||||
using Base::Base;
|
||||
|
||||
//! Contruct const from mutable (static channel count)
|
||||
//! Construct const from mutable (static channel count)
|
||||
template<typename U = T> requires (std::is_const_v<U> && channelCount != DynamicChannelCount)
|
||||
constexpr PlanarBufferView(PlanarBufferView<std::remove_const_t<U>, channelCount> other) noexcept
|
||||
: Base{other.data(), other.frames()}
|
||||
{
|
||||
}
|
||||
|
||||
//! Contruct const from mutable (dynamic channel count)
|
||||
//! Construct const from mutable (dynamic channel count)
|
||||
template<typename U = T> requires (std::is_const_v<U> && channelCount == DynamicChannelCount)
|
||||
constexpr PlanarBufferView(PlanarBufferView<std::remove_const_t<U>, channelCount> other) noexcept
|
||||
: Base{other.data(), other.channels(), other.frames()}
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
// if audio-driver supports ports, classes inherting AudioBusHandle
|
||||
// if audio-driver supports ports, classes inheriting AudioBusHandle
|
||||
// (e.g. channel-tracks) can register themselves for making
|
||||
// audio-driver able to collect their individual output and provide
|
||||
// them at a specific port - currently only supported by JACK
|
||||
|
||||
@@ -347,7 +347,7 @@ private slots:
|
||||
void setProgressionType(int progType);
|
||||
/**
|
||||
* @brief The Edit Tangent edit mode should only be available for
|
||||
* Cubic Hermite progressions, so this method is responsable for disabling it
|
||||
* Cubic Hermite progressions, so this method is responsible for disabling it
|
||||
* for other edit modes and reenabling it when it changes back to the Edit Tangent
|
||||
* mode.
|
||||
*/
|
||||
|
||||
@@ -770,7 +770,7 @@ public:
|
||||
{
|
||||
// [ 0 - 0.5 ]
|
||||
const float f = std::clamp(_freq, minFreq(), 20000.0f) * m_sampleRatio;
|
||||
// (Empirical tunning)
|
||||
// (Empirical tuning)
|
||||
m_p = ( 3.6f - 3.2f * f ) * f;
|
||||
m_k = 2.0f * m_p - 1;
|
||||
m_r = _q * std::exp((1 - m_p) * 1.386249f);
|
||||
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
signals:
|
||||
// NOTE: when separating core from UI, this will need to be removed
|
||||
// (who would kno if the client is Qt, i.e. it may not have slots at all)
|
||||
// (who would know if the client is Qt, i.e. it may not have slots at all)
|
||||
// In this case you'd e.g. send the UI something like
|
||||
// "/added <model meta info>"
|
||||
void modelAdded(lmms::AutomatableModel* added);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace lmms {
|
||||
be 0 so the semaphore can be used as a simple signal where each post
|
||||
corresponds to one wait.
|
||||
|
||||
Semaphores are very efficient (much moreso than a mutex/cond pair). In
|
||||
Semaphores are very efficient (much more so than a mutex/cond pair). In
|
||||
particular, at least on Linux, post is async-signal-safe, which means it
|
||||
does not block and will not be interrupted. If you need to signal from
|
||||
a realtime thread, this is the most appropriate primitive to use.
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
void reset();
|
||||
|
||||
// Must have the sub-models exposed to programatically connect
|
||||
// Must have the sub-models exposed to programmatically connect
|
||||
// to automation or controllers
|
||||
IntModel & numeratorModel()
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Note.h - declaration of class note which contains all informations about a
|
||||
* Note.h - declaration of class note which contains all information about a
|
||||
* note + definitions of several constants and enums
|
||||
*
|
||||
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
|
||||
static inline bool lessThan( const Note * lhs, const Note * rhs )
|
||||
{
|
||||
// function to compare two notes - must be called explictly when
|
||||
// function to compare two notes - must be called explicitly when
|
||||
// using qSort
|
||||
if( (int)( *lhs ).pos() < (int)( *rhs ).pos() )
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* quadraturelfo.h - defination of QuadratureLfo class.
|
||||
* quadraturelfo.h - definition of QuadratureLfo class.
|
||||
*
|
||||
* Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/dot/com>
|
||||
*
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace lmms::gui
|
||||
*
|
||||
* Because of a bug in the QMdiSubWindow class to save the right position and size
|
||||
* of a subwindow in a project and because of the inability
|
||||
* for cusomizing the title bar appearance, lmms implements its own subwindow
|
||||
* for customizing the title bar appearance, lmms implements its own subwindow
|
||||
* class.
|
||||
*/
|
||||
class LMMS_EXPORT SubWindow : public QMdiSubWindow
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* endian_handling.h - handle endianess
|
||||
* endian_handling.h - handle endianness
|
||||
*
|
||||
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
|
||||
@@ -86,7 +86,7 @@ inline constexpr auto ARANGE_SILENT_START = -60;
|
||||
inline constexpr auto ARANGE_SILENT_END = -10;
|
||||
|
||||
|
||||
// This macro is used to handle path seperation properly in windows
|
||||
// This macro is used to handle path separation properly in windows
|
||||
constexpr char LADSPA_PATH_SEPERATOR =
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
';';
|
||||
|
||||
Reference in New Issue
Block a user