This Unreal Engine sample project shows how to implement and use a class that passes the Odin Voice Chat's data to the FMOD Audio Engine.
To be able to use the project you will need to have access to FMOD Studio and their Unreal Plugin. You can get them here. Copy the content of the downloaded zip file into the Plugins folder of the project. Also you will need to install the Odin Voice Chat Plugin for Unreal, available here or in the Unreal Marketplace. This also needs to be copied to the Plugins folder.
In order to fully understand the sample and the code feel free to visit our detailed integration guide.
The class is implemented in this header and this source file. It can be assigned in your Player Character as a Component to use the Player Character's positional data for any attenuation. See the Content/OdinContent/Blueprints/BP_OdinCharacter.uasset
in the sample project for reference. The Content/OdinContent/Blueprints/C_OdinClient.uasset
blueprint showcases how to start passing incoming Voice Chat streams to FMOD using the provided adapter-class.