v2.3.3 release: cross-platform driver in docs (makeDefaultAudioDriver)
This commit is contained in:
@@ -52,7 +52,7 @@ let cfg = SynthesisEngineConfig(
|
||||
sampleRate: 44100,
|
||||
numOutputChannels: 2,
|
||||
numInputChannels: 0,
|
||||
driver: CoreAudioDriver()
|
||||
driver: makeDefaultAudioDriver()
|
||||
)
|
||||
let engine = try host.makeEngine(role: .rtOutput(deviceID: 0), config: cfg)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user