Skip to content

Commit

Permalink
Merge pull request #4140 from uklotzde/lgtm.com
Browse files Browse the repository at this point in the history
Fix issues found by lgtm.com
  • Loading branch information
daschuer authored Jul 24, 2021
2 parents d01882a + 593fe6d commit e7cc43b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/controllers/Hercules-DJ-Console-4-Mx-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ Hercules4Mx.allLedsOff = function() {

// The jog wheel sensitivity setting has changed. This is reported in two scenarios:
// when the setting is changed in the tray icon, and when the crossfader curve is changed to beatmix.
Hercules4Mx.sensitivityChanged = function(value, group, control, status, group) {
Hercules4Mx.sensitivityChanged = function(value, group, control, status) {
Hercules4Mx.userSettings.sensitivity = 1 / value;
};

Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Korg-nanoKONTROL-2-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (NK2.numDecks==8){
}else if (NK2.numDecks==4){
NK2.Deck={1:"[Channel1]",2:"[Channel2]",3:"[Channel3]",4:"[Channel4]",5:"[Sampler1]",6:"[Sampler2]",7:"[Sampler3]",8:"[Sampler4]"};//list of decks, applied to each strip - 8 strips, 8 decks. (4 decks, 4 samplers)
}else if (NK2.numDecks==2){
NK2.Deck={1:"[Channel1]",2:"[Channel2]",3:"[Sampler1]",4:"[Sampler2]",5:"[Sampler3]",6:"[Sampler4]",5:"[Sampler5]",6:"[Sampler6]"};//list of decks, applied to each strip - 8 strips, 8 decks. (2 decks, 6 samplers)
NK2.Deck={1:"[Channel1]",2:"[Channel2]",3:"[Sampler1]",4:"[Sampler2]",5:"[Sampler3]",6:"[Sampler4]",7:"[Sampler5]",8:"[Sampler6]"};//list of decks, applied to each strip - 8 strips, 8 decks. (2 decks, 6 samplers)
}


Expand Down
1 change: 1 addition & 0 deletions src/sources/soundsourceflac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ ReadableSampleFrames SoundSourceFLAC::readSampleFramesClamped(
}
}
}
++retryCount;
}

// Decoding starts before the actual target position
Expand Down

0 comments on commit e7cc43b

Please sign in to comment.