Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The result of Activate should be checked. It may return NULL as described in https://learn.microsoft.com/en-us/windows/win32/api/mmdeviceapi/nf-mmdeviceapi-immdevice-activate This will prevent a null pointer dereference when the Activate function fails. Fixes #42 and see #42 for details.
- Loading branch information