Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
|
◆ CreateDevice()
Streaming device creation. Creates a high-level device, with specific settings. You need to provide the associated low-level I/O hook, implemented on your side. - Returns
- The device ID. AK_INVALID_DEVICE_ID if there was an error and it could not be created.
- Warning
- This function is not thread-safe.
- Returns
- AK_Success: Device was added to the system properly
- AK_InsufficientMemory: Not enough memory to complete the operation
- AK_InvalidParameter: One of the settings in AkDeviceSettings is out of range. Check asserts or debug console.
- See also
-
- Parameters
-
in_settings | Device settings. |
in_pLowLevelHook | Associated low-level I/O hook. Pass either a IAkLowLevelIOHook interface, consistent with the type of the scheduler. |
out_idDevice | Assigned unique device id to use in all other functions of this interface. |
|
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise