mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-12 19:23:12 -05:00
feat(tracker): multithreading is enabled with a separate bool toggle
This commit is contained in:
parent
4bb5df9c87
commit
287bd036a6
@ -82,8 +82,10 @@ type (
|
||||
alerts []Alert
|
||||
dialog Dialog
|
||||
|
||||
syntherIndex int // the index of the synther used to create new synths
|
||||
synthers []sointu.Synther // the synther used to create new synths
|
||||
syntherIndex int // the index of the synther used to create new synths
|
||||
synthers []sointu.Synther // the synther used to create new synths
|
||||
multithreading bool // is the multithreading enabled or not
|
||||
curSynther sointu.Synther // the current synther, either multithreaded or not depending on multithreading
|
||||
|
||||
broker *Broker
|
||||
|
||||
@ -197,6 +199,7 @@ func NewModel(broker *Broker, synthers []sointu.Synther, midiContext MIDIContext
|
||||
m.derived.searchResults = make([]string, 0, len(sointu.UnitNames))
|
||||
m.Unit().updateDerivedUnitSearch()
|
||||
m.MIDI().Refresh().Do()
|
||||
m.Play().setSynther(0, false)
|
||||
go runDetector(broker)
|
||||
go runSpecAnalyzer(broker)
|
||||
return m
|
||||
|
||||
Reference in New Issue
Block a user