Fix! DCs on player Midi - Android
This commit is contained in:
parent
e2db1c2f20
commit
1809a5dea6
1 changed files with 1 additions and 2 deletions
|
|
@ -457,7 +457,6 @@ actual class FMediaPlayer actual constructor(
|
|||
currentDynamicFactor = if (lastDyn == Dynamic.MF) 1.0f else lastDyn.factor
|
||||
navigationSteps.forEach { step ->
|
||||
if (step.gridIndex > gridIndex) {
|
||||
step.alreadyDone = false
|
||||
if (step.isFarany) {
|
||||
step.faranyActive = false
|
||||
}
|
||||
|
|
@ -712,6 +711,7 @@ actual class FMediaPlayer actual constructor(
|
|||
println("Exécution changement de tempo : ${step.newBpm} BPM à la grille $currentIndex")
|
||||
targetBpm = step.newBpm
|
||||
sharedScreenModel.setBpmFlow(step.newBpm)
|
||||
setTempo(step.newBpm)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -974,7 +974,6 @@ actual class FMediaPlayer actual constructor(
|
|||
userCustomTempo = true
|
||||
usPerTick = (60_000_000.0 / bpm.toDouble()) / resolution.toDouble()
|
||||
boundModel?.setBpmFlow(bpm)
|
||||
boundModel?.let { prepareNavigation(it) }
|
||||
needsClockSync = true
|
||||
}
|
||||
actual fun getCurrentBPM(): Float = targetBpm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue