Photon Voice + Wwise

Hey ppl,

I am looking for a solution to reroute the Photon voice Chat into Wwise so I can create some proper ducking and filtering of my SFX and Music. Is there a way to do this? It would help alot with handling a balanced Mix between Voice Chat and the rest of the game Audio. Im not the programmer btw :)

Im using Unity 2017.2 and Wwise 2016.2.4

Thx for replies.

Comments

  • Hi! I'm sort of in the same situation, did you ever find a solution for this? :)

    Regards

    Joel

  • vadim
    vadim mod
    edited February 2023

    To integrate 3rd party audio output component, you need a class implementing IAudioOut<float> or abstract members of AudioOutDelayControl<float> (in case you want to leverage jitter buffer provided by Voice). Extend Speaker class and override CreateAudioOut() to return your IAudioOut<float> instance.

    See FMOD.AudioOut<T> in FMODAudioOut.cs and SpeakerFMOD.cs (assume useEvent = false) for a sample of such integration.