mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-18 16:49:06 -05:00
draft multicore processing
This commit is contained in:
parent
c583156d1b
commit
7f03664870
@ -18,7 +18,8 @@ type NativeSynther struct {
|
||||
|
||||
type NativeSynth C.Synth
|
||||
|
||||
func (s NativeSynther) Name() string { return "Native" }
|
||||
func (s NativeSynther) Name() string { return "Native" }
|
||||
func (s NativeSynther) SupportsParallelism() bool { return false }
|
||||
|
||||
func (s NativeSynther) Synth(patch sointu.Patch, bpm int) (sointu.Synth, error) {
|
||||
synth, err := Synth(patch, bpm)
|
||||
@ -67,6 +68,8 @@ func Synth(patch sointu.Patch, bpm int) (*NativeSynth, error) {
|
||||
return (*NativeSynth)(s), nil
|
||||
}
|
||||
|
||||
func (s *NativeSynth) Close() {}
|
||||
|
||||
// Render renders until the buffer is full or the modulated time is reached, whichever
|
||||
// happens first.
|
||||
// Parameters:
|
||||
|
||||
Reference in New Issue
Block a user