mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-12 04:46:13 -05:00
The compiled player does not support multithreading, but with this, users can already start composing songs with slightly less powerful machines, even when targeting high-end machines. Related to #199
14 lines
275 B
Go
14 lines
275 B
Go
//go:build native
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/vsariola/sointu/vm"
|
|
"github.com/vsariola/sointu/vm/compiler/bridge"
|
|
)
|
|
|
|
func init() {
|
|
Synthers = append(Synthers, bridge.NativeSynther{})
|
|
Synthers = append(Synthers, vm.MakeMultithreadSynther(bridge.NativeSynther{}))
|
|
}
|