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. |