Hi, trying to call the recordStart function without microphone permissions on a windows machine. Results in the following error code: [FMOD] OutputWASAPI::recordStart : IAudioClient::Initialize returned 0x80070005.
Would it be possible to return a custom case for this, as right now FMOD returns the error code ERR_RECORD, but it would be nice to have some information as to what is actually going wrong. Possibly something like ERR_RECORD_ACCESS_DENIED as that is the error result provided by the IAudioClient code.
Reproduction steps:
- Open windows settings
- Navigate to privacy settings
- Navigate to microphone settings
- Disable microphone access for desktop apps.
- Add a call to
fmod.recordStart - Notice the error