mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
We now return nil instead of a null SoundData when getting recorded data fails.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace openal
|
||||
|
||||
alcMakeContextCurrent(0);
|
||||
alcDestroyContext(context);
|
||||
alcCaptureCloseDevice(capture);
|
||||
if (capture) alcCaptureCloseDevice(capture);
|
||||
alcCloseDevice(device);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user