Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misc. typos #4039

Merged
merged 1 commit into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
# Studio on Windows comes with its own CMake version anyway.
if: runner.os == 'macOS'
with:
# This should always match the mininum required version in
# This should always match the minimum required version in
# our CMakeLists.txt
cmake-version: '3.16.x'

Expand Down
2 changes: 1 addition & 1 deletion cmake/ctest-to-junit.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This XSLT stylesheet is taken from the jenkins-ctest-plugin by Version One,
Inc. and Ryan Pavlik <abiryan@ryand.net> and is subject to the terms of the
MIT License.

It was taken from this GitHub repositiory:
It was taken from this GitHub repository:
https://github.com/rpavlik/jenkins-ctest-plugin

Includes modifications by Jan Holthuis to add support for skipped/errored
Expand Down
4 changes: 2 additions & 2 deletions packaging/CPackDebInstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(NOT CPACK_DEBIAN_DEBCHANGE)
endif()

# We create a temporary debian folder that the debhelper below run as usual.
# The final debian folder is created indipendently by cpack
# The final debian folder is created independently by cpack
message( NOTICE "Creating temporary debian folder for debhelper" )
file(COPY ${CPACK_DEBIAN_SOURCE_DIR}/packaging/debian
DESTINATION ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME})
Expand Down Expand Up @@ -69,7 +69,7 @@ function(run_dh DH_COMMAND)
WORKING_DIRECTORY ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}
RESULT_VARIABLE CPACK_DEBIAN_DH_RET)
if(NOT CPACK_DEBIAN_DH_RET EQUAL "0")
message(FATAL_ERROR "${DH_COMMAND} retuned exit code ${CPACK_DEBIAN_DH_RET}")
message(FATAL_ERROR "${DH_COMMAND} returned exit code ${CPACK_DEBIAN_DH_RET}")
endif()
endfunction()

Expand Down
2 changes: 1 addition & 1 deletion packaging/CPackDebUploadPPA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ foreach(RELEASE ${CPACK_DEBIAN_DISTRIBUTION_RELEASES})
WORKING_DIRECTORY ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}
RESULT_VARIABLE CPACK_DEBIAN_DEBUILD_RET)
if(NOT CPACK_DEBIAN_DEBUILD_RET EQUAL "0")
message(FATAL_ERROR "${CPACK_DEBIAN_DEBUILD} retuned exit code ${CPACK_DEBIAN_DEBUILD_RET}")
message(FATAL_ERROR "${CPACK_DEBIAN_DEBUILD} returned exit code ${CPACK_DEBIAN_DEBUILD_RET}")
endif()
endif()
if (BUILD_MACHINE_RELEASE STREQUAL RELEASE AND DEB_BUILD)
Expand Down
2 changes: 1 addition & 1 deletion packaging/macos/entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- Allow access to files selected with an Open/Save dialog -->
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<!-- Persists access permission for files selected with an Open/Save dialog accross restarts -->
<!-- Persists access permission for files selected with an Open/Save dialog across restarts -->
<key>com.apple.security.files.bookmarks.app-scope</key>
<true/>

Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules_DJControl_Inpulse_200.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@
<on>0x07</on>
<off>0x05</off>
</output>
<!-- LED Assitant button-->
<!-- LED Assistant button-->
<output>
<group>[AutoDJ]</group>
<key>enabled</key>
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules_DJControl_Jogvision.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@
<output>
<group>[Master]</group>
<key>maximize_library</key>
<description>VIEW buton LED</description>
<description>VIEW button LED</description>
<minimum>0.5</minimum>
<maximum>1</maximum>
<status>0x90</status>
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Numark-N4-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NumarkN4.cueReverseRoll=true; // enables the ability to do a reverse roll while
NumarkN4.hotcuePageIndexBehavior=true;

// possible ranges (0.0..3.0 where 0.06=6%)
NumarkN4.rateRanges = [0, // default (gets set via script later; don't modifify)
NumarkN4.rateRanges = [0, // default (gets set via script later; don't modify)
0.06, // one semitone
0.24, // for maximum freedom
];
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Pioneer-DDJ-200-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DDJ200.init = function() {
DDJ200.switchPlayLED(d, ch);
});

// run switchSyncLED after sync toogle to set LEDs accordingly
// run switchSyncLED after sync toggle to set LEDs accordingly
engine.makeConnection(vgroup, "sync_enabled", function(ch, vgroup) {
var vDeckNo = script.deckFromGroup(vgroup);
var d = (vDeckNo % 2) ? 0 : 1;
Expand Down
8 changes: 4 additions & 4 deletions res/controllers/Pioneer-DDJ-400.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</options>
</control>
<control>
<description>JOG DIAL PLATTER (DECK1) - touch - enabe (on touch) / disable (on release) Scraching/Pitch
<description>JOG DIAL PLATTER (DECK1) - touch - enable (on touch) / disable (on release) Scratching/Pitch
bend
</description>
<group>[Channel1]</group>
Expand All @@ -218,7 +218,7 @@
</options>
</control>
<control>
<description>JOG DIAL PLATTER +SHIFT (DECK1) - touch - enabe (on touch) / disable (on release) highspeed
<description>JOG DIAL PLATTER +SHIFT (DECK1) - touch - enable (on touch) / disable (on release) highspeed
Pitch bend
</description>
<group>[Channel1]</group>
Expand Down Expand Up @@ -271,7 +271,7 @@
</options>
</control>
<control>
<description>JOG DIAL PLATTER (DECK2) - touch - enabe (on touch) / disable (on release) Scraching/Pitch
<description>JOG DIAL PLATTER (DECK2) - touch - enable (on touch) / disable (on release) Scratching/Pitch
bend
</description>
<group>[Channel2]</group>
Expand All @@ -283,7 +283,7 @@
</options>
</control>
<control>
<description>JOG DIAL PLATTER +SHIFT (DECK2) - touch - enabe (on touch) / disable (on release) highspeed
<description>JOG DIAL PLATTER +SHIFT (DECK2) - touch - enable (on touch) / disable (on release) highspeed
Pitch bend
</description>
<group>[Channel2]</group>
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Traktor-Kontrol-S2-MK3-hid-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ TraktorS2MK3.registerInputPackets = function () {
this.registerInputScaler(messageLong, "[Master]", "crossfader", 0x05, 0xFFFF, this.parameterHandler);
/*
do NOT map the "master" button because it also drives the analog output gain.
Disabling this mapping is the only way to have independant controls for the
Disabling this mapping is the only way to have independent controls for the
digital master gain and the output level - the latter usually needs to be set
at 100%.
*/
Expand Down
2 changes: 1 addition & 1 deletion res/skins/LateNight/fx/unit_parameters_hidden.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Layout>horizontal</Layout>
<Children>

<!-- TODO ronso0 mkae this work without compressing fx slots -->
<!-- TODO ronso0 make this work without compressing fx slots -->
<!-- Separator shown when it makes sense (gap is > 60px) -->
<!-- <WidgetGroup>
<Layout>horizontal</Layout>
Expand Down
6 changes: 3 additions & 3 deletions res/skins/LateNight/skin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

<!-- Waveform & Overview colors -->
<!-- This is a hack to have a grey background in empty decks.
When a track is laoded the bg gets darker for better contrast -->
When a track is loaded the bg gets darker for better contrast -->
<SetVariable name="BgColorOverview_12">#19191a</SetVariable>
<SetVariable name="BgColorOverview_34">#001b23</SetVariable>
<SetVariable name="BgColorOverview_SamPre">rgba(15, 15, 15, 20)</SetVariable>
Expand Down Expand Up @@ -249,7 +249,7 @@
<SetVariable name="KnobColorFx34">blue</SetVariable>
<SetVariable name="KnobColorFxParameter">white</SetVariable>
<!-- EQ kill dots conflict with arcs in Classic knob backgrounds.
Leaving it blank could cause users to accidentially click it
Leaving it blank could cause users to accidentally click it
without having a 'kill' indicator, so we 'remove' it. -->
<SetVariable name="EqKillDotSize">0f,0f</SetVariable>

Expand Down Expand Up @@ -392,7 +392,7 @@

<!-- Some helpers to show widgets and switch layouts
depending on the skin configuration.
Appearantly putting those here keeps i.e. the spinny
Apparently putting those here keeps i.e. the spinny
config when [Master],maximize_library is toggled. -->
<Template src="skin:/helpers/skin_helper_mic_ducking.xml"/>
<Template src="skin:/helpers/skin_helper_spinny-cover.xml"/>
Expand Down
2 changes: 1 addition & 1 deletion res/skins/LateNight/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ WEffectSelector {



/************** Skin setttings ************************************************/
/************** Skin settings *************************************************/

#SkinSettings {
qproperty-layoutAlignment: 'AlignLeft | AlignTop';
Expand Down
4 changes: 2 additions & 2 deletions res/skins/LateNight/style_palemoon.qss
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ WSearchLineEdit {
border-radius: 1px;
}

/* Disbled for now since the hover effect is stuck as soon as the
/* Disabled for now since the hover effect is stuck as soon as the
track menu is opened.
#TitleText[highlight="1"]:hover, #TitleTextSmall[highlight="1"]:hover,
#ArtistText[highlight="1"]:hover, #ArtistTextSmall[highlight="1"]:hover {
Expand Down Expand Up @@ -1605,7 +1605,7 @@ WBeatSpinBox::down-button {
WPushButton#MicAuxAdd {
background-color: #1e1e20;
}
/* brigth buttons in dimmed containers
/* bright buttons in dimmed containers
#BeatgridControls WPushButton[displayValue="0"], */
#CueDeleteButton,
#SplitCue[displayValue="0"],
Expand Down
2 changes: 1 addition & 1 deletion res/skins/default-menu-styles-linux.qss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
but we now have space for the checkbox */
margin: 0em 0em 0em 1.3em;
}
/* Checkbox preceeding menu items */
/* Checkbox preceding menu items */
#MainMenu QMenu::indicator {
/*width: 1em;*/
/*height: 1em;*/
Expand Down
2 changes: 1 addition & 1 deletion res/skins/default-menu-styles-windows.qss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
but we now have space for the checkbox */
margin: 0em 0em 0em 1.2em;
}
/* Checkbox preceeding menu items */
/* Checkbox preceding menu items */
#MainMenu QMenu::indicator {
/*width: 1em;*/
/*height: 1em;*/
Expand Down
2 changes: 1 addition & 1 deletion res/skins/default.qss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ WOverview #PassthroughLabel {
/* Lay out all context menus and the track table header with relative sizes,
adjusting to the system-chosen font (size). Same is done for the Played checkedbox
and the BPM lock icon in the library above.
Appearantly, the mainmenubar needs special treatment -- see default-menu-styles-linux7windows.qss */
Apparently, the mainmenubar needs special treatment -- see default-menu-styles-linux7windows.qss */
QToolTip,
#MainMenu QMenu,
WLibrarySidebar QMenu,
Expand Down
4 changes: 2 additions & 2 deletions src/controllers/hid/hidcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ QList<int> HidController::getInputReport(unsigned int reportID) {
}

// Convert array of bytes read in a JavaScript compatible return type
// For compatibilty with the array provided by HidController::poll the reportID is contained as prefix
// For compatibility with the array provided by HidController::poll the reportID is contained as prefix
QList<int> dataList;
dataList.reserve(bytesRead);
for (int i = 0; i < bytesRead; i++) {
Expand Down Expand Up @@ -324,7 +324,7 @@ QList<int> HidController::getFeatureReport(
}

// Convert array of bytes read in a JavaScript compatible return type
// For compatibilty with input array HidController::sendFeatureReport, a reportID prefix is not added here
// For compatibility with input array HidController::sendFeatureReport, a reportID prefix is not added here
QList<int> dataList;
dataList.reserve(bytesRead - kReportIdSize);
for (int i = kReportIdSize; i < bytesRead; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/encoder/encoderfdkaac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void EncoderFdkAac::encodeBuffer(const CSAMPLE* samples, const int sampleCount)
int writeCount = sampleCount;
int writeAvailable = m_pInputFifo->writeAvailable();
if (writeCount > writeAvailable) {
kLogger.warning() << "FIFO buffer too small, loosing samples!"
kLogger.warning() << "FIFO buffer too small, losing samples!"
<< "required:" << writeCount
<< "; available: " << writeAvailable;
writeCount = writeAvailable;
Expand Down
4 changes: 2 additions & 2 deletions src/engine/controls/clockcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ void ClockControl::updateIndicators(const double dRate,
const double currentSample,
const double sampleRate) {
/* This method sets the control beat_active is set to the following values:
* 0.0 --> No beat indication (ouside 20% area or play direction changed while indication was on)
* 0.0 --> No beat indication (outside 20% area or play direction changed while indication was on)
* 1.0 --> Forward playing, set at the beat and set back to 0.0 at 20% of beat distance
* 2.0 --> Reverse playing, set at the beat and set back to 0.0 at -20% of beat distance
*/

// No position change since last indicator update (e.g. deck stopped) -> No indicator update needed
// The kSignificiantRateThreshold condition ensures an immidiate indicator update, when the play/cue button is pressed
// The kSignificiantRateThreshold condition ensures an immediate indicator update, when the play/cue button is pressed
if ((currentSample <= (m_lastEvaluatedSample + kStandStillTolerance * sampleRate)) &&
(currentSample >= (m_lastEvaluatedSample - kStandStillTolerance * sampleRate)) &&
(fabs(dRate) <= kSignificiantRateThreshold)) {
Expand Down
2 changes: 1 addition & 1 deletion src/engine/enginemaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ void EngineMaster::process(const int iBufferSize) {

if (headphoneEnabled) {
// Process effects and mix PFL channels together for the headphones.
// Effects will be reprocessed post-fader for the crossfader busses
// Effects will be reprocessed post-fader for the crossfader buses
// and master mix, so the channel input buffers cannot be modified here.
ChannelMixer::applyEffectsAndMixChannels(
m_headphoneGain, &m_activeHeadphoneChannels,
Expand Down
2 changes: 1 addition & 1 deletion src/mixxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ void MixxxMainWindow::rebootMixxxView() {
if (wasFullScreen) {
slotViewFullScreen(true);
} else {
// Programatic placement at this point is very problematic.
// Programmatic placement at this point is very problematic.
// The screen() method returns stale data (primary screen)
// until the user interacts with mixxx again. Keyboard shortcuts
// do not count, moving window, opening menu etc does
Expand Down
2 changes: 1 addition & 1 deletion src/mixxx.rc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IDI_ICON1 ICON DISCARDABLE "res/images/icons/ic_mixxx.ico"
#define VER_PRODUCTNAME_STR "Mixxx\0"
#define VER_FILEDESCRIPTION_STR "Mixxx digital DJ software"
#define VER_COMPANYNAME_STR "The Mixxx Development Team"
// \xA9 for (c) symbol. The Microsoft Resource Compiler compiler asumes Latin-1 strings
// \xA9 for (c) symbol. The Microsoft Resource Compiler compiler assumes Latin-1 strings
#define VER_LEGALCOPYRIGHT_STR "\xA9 2001-" CUR_YEAR " Mixxx Development Team\0"
#define VER_ORIGINALFILENAME_STR "Mixxx.exe"

Expand Down
2 changes: 1 addition & 1 deletion src/sources/audiosource.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class AudioSource : public UrlResource, public virtual /*implements*/ IAudioSour
/// internal errors of if the format of the content is not
/// supported it should return Aborted.
///
/// Returing this error result gives other decoders with a
/// Returning this error result gives other decoders with a
/// lower priority the chance to open the same file.
/// Example: A SoundSourceProvider has been registered for
/// files with a certain extension, but the corresponding
Expand Down
2 changes: 1 addition & 1 deletion src/sources/soundsourcecoreaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ SoundSource::OpenResult SoundSourceCoreAudio::tryOpen(

if (m_bFileIsMp3) {
// Use the maximum value for MP3 files to ensure that all decoded samples
// are accurate. Otherwise the deocding tests for MP3 files fail!
// are accurate. Otherwise the decoding tests for MP3 files fail!
m_seekPrefetchFrames = math_max(m_leadingFrames, kMp3MaxSeekPrefetchFrames);
} else {
m_seekPrefetchFrames = m_leadingFrames;
Expand Down
2 changes: 1 addition & 1 deletion src/sources/soundsourcem4a.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ ReadableSampleFrames SoundSourceM4A::readSampleFramesClamped(
// Either abort or retry by exiting the inner loop
break;
} else {
// Reset the retry flag after succesfully decoding a block
// Reset the retry flag after successfully decoding a block
retryAfterReopeningDecoder = false;
}
// Upon a pending retry the inner loop is exited immediately and
Expand Down
8 changes: 4 additions & 4 deletions src/test/beatgridtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TEST(BeatGridTest, TestNthBeatWhenOnBeat) {
EXPECT_NEAR(position, prevBeat, kMaxBeatError);
EXPECT_NEAR(position + beatLength, nextBeat, kMaxBeatError);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pGrid->findPrevNextBeats(position, &prevBeat, &nextBeat, false);
EXPECT_NEAR(position, prevBeat, kMaxBeatError);
EXPECT_NEAR(position + beatLength, nextBeat, kMaxBeatError);
Expand Down Expand Up @@ -121,7 +121,7 @@ TEST(BeatGridTest, TestNthBeatWhenOnBeat_BeforeEpsilon) {
EXPECT_NEAR(kClosestBeat, prevBeat, kMaxBeatError);
EXPECT_NEAR(kClosestBeat + beatLength, nextBeat, kMaxBeatError);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pGrid->findPrevNextBeats(position, &prevBeat, &nextBeat, false);
EXPECT_NEAR(kClosestBeat - beatLength, prevBeat, kMaxBeatError);
EXPECT_NEAR(kClosestBeat, nextBeat, kMaxBeatError);
Expand Down Expand Up @@ -162,7 +162,7 @@ TEST(BeatGridTest, TestNthBeatWhenOnBeat_AfterEpsilon) {
EXPECT_NEAR(kClosestBeat, prevBeat, kMaxBeatError);
EXPECT_NEAR(kClosestBeat + beatLength, nextBeat, kMaxBeatError);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pGrid->findPrevNextBeats(position, &prevBeat, &nextBeat, false);
EXPECT_NEAR(kClosestBeat, prevBeat, kMaxBeatError);
EXPECT_NEAR(kClosestBeat + beatLength, nextBeat, kMaxBeatError);
Expand Down Expand Up @@ -204,7 +204,7 @@ TEST(BeatGridTest, TestNthBeatWhenNotOnBeat) {
EXPECT_NEAR(previousBeat, foundPrevBeat, kMaxBeatError);
EXPECT_NEAR(nextBeat, foundNextBeat, kMaxBeatError);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pGrid->findPrevNextBeats(position, &foundPrevBeat, &foundNextBeat, false);
EXPECT_NEAR(previousBeat, foundPrevBeat, kMaxBeatError);
EXPECT_NEAR(nextBeat, foundNextBeat, kMaxBeatError);
Expand Down
6 changes: 3 additions & 3 deletions src/test/beatmaptest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ TEST_F(BeatMapTest, TestNthBeatWhenOnBeat) {
EXPECT_EQ(position, prevBeat);
EXPECT_EQ(position + beatLengthSamples, nextBeat);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pMap->findPrevNextBeats(position, &prevBeat, &nextBeat, false);
EXPECT_EQ(position, prevBeat);
EXPECT_EQ(position + beatLengthSamples, nextBeat);
Expand Down Expand Up @@ -183,7 +183,7 @@ TEST_F(BeatMapTest, TestNthBeatWhenOnBeat_BeforeEpsilon) {
EXPECT_EQ(kClosestBeat, prevBeat);
EXPECT_EQ(kClosestBeat + beatLengthSamples, nextBeat);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pMap->findPrevNextBeats(position, &prevBeat, &nextBeat, false);
EXPECT_EQ(kClosestBeat - beatLengthSamples, prevBeat);
EXPECT_EQ(kClosestBeat, nextBeat);
Expand Down Expand Up @@ -274,7 +274,7 @@ TEST_F(BeatMapTest, TestNthBeatWhenNotOnBeat) {
EXPECT_EQ(previousBeat, foundPrevBeat);
EXPECT_EQ(nextBeat, foundNextBeat);

// Also test prev/next beat calculation without snaping tolerance
// Also test prev/next beat calculation without snapping tolerance
pMap->findPrevNextBeats(position, &foundPrevBeat, &foundNextBeat, false);
EXPECT_EQ(previousBeat, foundPrevBeat);
EXPECT_EQ(nextBeat, foundNextBeat);
Expand Down
2 changes: 1 addition & 1 deletion src/test/enginesynctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2618,7 +2618,7 @@ TEST_F(EngineSyncTest, QuantizeHotCueActivate) {
pHotCue2Activate->set(1.0);
ProcessBuffer();

// Beat_distance is the distance to the previous beat wich has already passed.
// Beat_distance is the distance to the previous beat which has already passed.
// We compare here the distance to the next beat (1 - beat_distance) and
// scale it by the different tempos.
EXPECT_NEAR(
Expand Down
Loading