1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-30 19:15:48 +02:00

Keep !EXPERIMENTAL_MIDI_OUT compilable

This commit is contained in:
Paul Licameli
2021-05-11 19:30:21 -04:00
committed by Leland Lucius
parent 8bb55b8bbf
commit 85a8d0ac97
4 changed files with 9 additions and 3 deletions

View File

@@ -635,6 +635,7 @@ void NoteTrack::InsertSilence(double t, double len)
// AddToDuration( len );
}
#ifdef EXPERIMENTAL_MIDI_OUT
void NoteTrack::SetVelocity(float velocity)
{
if (mVelocity != velocity) {
@@ -642,6 +643,7 @@ void NoteTrack::SetVelocity(float velocity)
Notify();
}
}
#endif
// Call this function to manipulate the underlying sequence data. This is
// NOT the function that handles horizontal dragging.