gen2brain / malgo

Mini audio library
The Unlicense
288 stars 49 forks source link

Documentation issue for InitDevice #27

Closed jhelberg closed 3 years ago

jhelberg commented 3 years ago

The formal parameters of InitDevice list: context Context, deviceConfig DeviceConfig, deviceCallbacks DeviceCallbacks but the documentation says: The device ID can be nil, in which c... There is no device ID in the parameterlist. It would be nice if there was, as I cannot select a specific device now with InitDevice. Can the documention be in-line with the parameters? Can you explain how to init a specific device, given it's device ID?

gen2brain commented 3 years ago

See https://github.com/gen2brain/malgo/issues/23.

jhelberg commented 3 years ago

thanks for explaining. Documentation will improve by writing: 'The deviceID in DeviceConfig.Capture or DeviceConfig.Playback can be nil, in which c...'