refactor(tracker): Enabler is optionally implemented when needed

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2026-01-21 19:53:24 +02:00
parent 810998d95b
commit 60222dded4
5 changed files with 70 additions and 87 deletions

View File

@ -64,8 +64,8 @@ func NewScopeModel(bpm int) *ScopeModel {
func (s *ScopeModel) Waveform() RingBuffer[[2]float32] { return s.waveForm }
func (s *ScopeModel) Once() Bool { return MakeEnabledBool((*SignalOnce)(s)) }
func (s *ScopeModel) Wrap() Bool { return MakeEnabledBool((*SignalWrap)(s)) }
func (s *ScopeModel) Once() Bool { return MakeBool((*SignalOnce)(s)) }
func (s *ScopeModel) Wrap() Bool { return MakeBool((*SignalWrap)(s)) }
func (s *ScopeModel) LengthInBeats() Int { return MakeInt((*SignalLengthInBeats)(s)) }
func (s *ScopeModel) TriggerChannel() Int { return MakeInt((*TriggerChannel)(s)) }