refactor(tracker): put all recording data into struct Recording

This commit is contained in:
2023-10-19 23:28:57 +03:00
parent 453f45c48a
commit d342fb860b
5 changed files with 61 additions and 63 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ import (
type NullContext struct {
}
func (NullContext) NextEvent() (event tracker.PlayerProcessEvent, ok bool) {
return tracker.PlayerProcessEvent{}, false
func (NullContext) NextEvent() (event tracker.MIDINoteEvent, ok bool) {
return tracker.MIDINoteEvent{}, false
}
func (NullContext) BPM() (bpm float64, ok bool) {