mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-21 06:24:32 -04:00
feat(tracker): rework the MIDI input and note event handling
This commit is contained in:
parent
7ef868a434
commit
283fbc1171
@ -13,10 +13,6 @@ import (
|
||||
|
||||
type NullContext struct{}
|
||||
|
||||
func (NullContext) NextEvent(frame int) (event tracker.MIDINoteEvent, ok bool) {
|
||||
return tracker.MIDINoteEvent{}, false
|
||||
}
|
||||
|
||||
func (NullContext) FinishBlock(frame int) {}
|
||||
|
||||
func (NullContext) BPM() (bpm float64, ok bool) {
|
||||
@ -277,7 +273,7 @@ func FuzzModel(f *testing.F) {
|
||||
break loop
|
||||
default:
|
||||
ctx := NullContext{}
|
||||
player.Process(buf, ctx, nil)
|
||||
player.Process(buf, ctx)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user