diff options
author | Jörg Müller <nexyon@gmail.com> | 2021-03-17 00:32:16 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2021-03-17 01:21:45 +0300 |
commit | 7b8fc307dc4ff608fc68e2decee45bae59f0c7c9 (patch) | |
tree | 9690b32b66aec4595df83e92f9595a819b715339 /extern/audaspace/bindings | |
parent | 262a0988466e95ab31b834a6479b8be7ec1023d6 (diff) |
Audaspace: porting minor improvements from upstream
- NullDevice is now called None
- Automatic choice of best available device.
- Minor formatting, documentation and cmake fixes.
Diffstat (limited to 'extern/audaspace/bindings')
-rw-r--r-- | extern/audaspace/bindings/C/AUD_Special.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/audaspace/bindings/C/AUD_Special.cpp b/extern/audaspace/bindings/C/AUD_Special.cpp index a83465620ab..ac876a01eb3 100644 --- a/extern/audaspace/bindings/C/AUD_Special.cpp +++ b/extern/audaspace/bindings/C/AUD_Special.cpp @@ -376,7 +376,7 @@ AUD_API AUD_Device* AUD_init(const char* device, AUD_DeviceSpecs specs, int buff { try { - std::shared_ptr<IDeviceFactory> factory = DeviceManager::getDeviceFactory(device); + std::shared_ptr<IDeviceFactory> factory = device ? DeviceManager::getDeviceFactory(device) : DeviceManager::getDefaultDeviceFactory(); if(factory) { |