What to Do If the "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" Error Occurs
The "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" error can occur when microphone permission has been disabled on Windows 10 or later. This happens because oCam does not have the required permission to access the microphone. Below is a detailed explanation of how to resolve this issue.
For oCam to use the microphone properly, microphone access must be enabled in the Windows Privacy settings. Follow the steps below to check and adjust the setting:

1. Open the Windows Start menu and click 'Settings' (the gear icon).
2. In the Settings window, select 'Privacy'.
3. Click 'Microphone' in the left menu.
4. Check whether the 'Microphone access for this device' option is turned on. If it is turned off, click the switch to turn it on.
5. Check whether 'Allow apps to access your microphone' is turned on. If this setting is disabled, apps such as oCam cannot use the microphone. Make sure it is turned on, then save the setting.
After changing the setting, restart oCam and try recording with the microphone again. If the permission has been granted properly, the "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" error is likely to be resolved.
If the problem continues, check the microphone device settings themselves in Control Panel > Sound > Recording tab, or try selecting the microphone input source again in oCam's 'Sound' settings. In addition, updating Windows and oCam to the latest version may also help.
Today's News/Tips
How to Install oCam in a Different Location
If you run the oCam installation file from the command line with a specific parameter, you can change the installation path as you want. This allows you to install the program in a folder of your choice instead of the default installation path.
To change the installation path, use the following parameter:
`"/dir=installation path"`
This parameter is used to specify the desired installation path when running the installer. For example, if you want to install oCam in a specific folder, simply add this parameter when entering the command.
To apply the parameter, follow these steps:
1. Open the Start menu and select 'Run'. Or press the Windows key + R shortcut to open the Run dialog box.
2. In the Run dialog box, enter the command in the following format:
`"installer file path" "/dir=installation path"`
For example, if the oCam installer file is located at `C:\Downloads\oCam_Setup.exe` and you want to install it to `D:\Program Files\oCam`, enter the following command:
`"C:\Downloads\oCam_Setup.exe" "/dir=D:\Program Files\oCam"`
When you run the above command, oCam will be installed to the specified path, `D:\Program Files\oCam`. This method is useful for users who want to customize the installation process, especially if they want to organize programs in a specific directory.
It is important to enter the parameter correctly in the command line, and both the installer file path and the installation path should be enclosed in quotation marks so that the command runs properly even if spaces or special characters are included. With this simple method, you can freely change the installation path of oCam.