Skip to content

Conversation

@Aper-mesa
Copy link

@Aper-mesa Aper-mesa commented Sep 20, 2025

This PR updates the Wwise integration to Wwise 2024.1.7:

  1. Deleted pathingParams.normalizeEQ in wwise/src/SoundEnginePlugin/SteamAudioSpatializerFX.cpp
  2. Renamed AK::Wwise::Plugin::PluginMFCWindows<> into public AK::Wwise::Plugin::GUIWindows<> in wwise/src/WwisePlugin/Win32/SteamAudioWwisePluginGUI.h

After this fix, steam audio wwise is able to successfully compile with UE 5.5.4 & Steam Audio 4.7.0.

Backward compatibility was added for older Wwise versions

pathingParams.binaural = m_params->NonRTPC.pathingBinaural ? IPL_TRUE : IPL_FALSE;
pathingParams.hrtf = hrtf;
pathingParams.listener = listenerCoords;
pathingParams.normalizeEQ = m_params->NonRTPC.pathingNormalizeEQ ? IPL_TRUE : IPL_FALSE;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this deleted? Does the build fail on newer versions of Wwise with this line?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPLPathEffectParams removed the normalizeEQ member in recent versions of Wwise. The normalization is handled automatically so the argument is deprecated.

Copy link
Author

@Aper-mesa Aper-mesa Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this deleted? Does the build fail on newer versions of Wwise with this line?

Yes, Wwise 2024.1.5 or newer will fail the build with the related UE 5 versions. Therefore, any UE 5.4, 5.5, or even 5.6 projects with Wwise will NOT BE ABLE to use Steam Audio at this time (unless they can endure the numerous crashes)

#include "../SteamAudioWwisePlugin.h"

class SteamAudioSpatializerPluginGUI final : public AK::Wwise::Plugin::PluginMFCWindows<>, public AK::Wwise::Plugin::GUIWindows
class SteamAudioSpatializerPluginGUI final : public AK::Wwise::Plugin::GUIWindows<>, public AK::Wwise::Plugin::GUIWindows
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you surround this rename with #ifdef etc. so that the code can still be compiled by users who need to use older versions of Wwise?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you surround this rename with #ifdef etc. so that the code can still be compiled by users who need to use older versions of Wwise?

I committed and added backward compatibility, please check. By the way, the original code was weird, that it inherited two base classes. This PR will fix this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants