mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-24 08:40:01 +01:00
revert out point
This commit is contained in:
@@ -489,6 +489,9 @@ static void vj_midi_send_vims_now( vmidi_t *v, int *data )
|
||||
// 115 = frame
|
||||
if( tmpv[0] == 108 || tmpv[0] == 109 || tmpv[0] == 115 ) {
|
||||
//@ VIMS: sample marker events, replace frame for control/param value
|
||||
if(d->extra == 3) {
|
||||
val = 127 - ( ((max-min)/127.0) * data[2] + min);
|
||||
}
|
||||
snprintf(vims_msg, sizeof(vims_msg), "%03d:%d %d;", tmpv[0], 0, (int) val );
|
||||
veejay_msg(VEEJAY_MSG_DEBUG, "\t(midi) send sample_id 0 (current) with value %d to VIMS %d", val, tmpv[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user