- Newest
- Most votes
- Most comments
Hi @REDACTEDUSER
I believe that wwise.py file is old and should not be used anymore by the build system. I believe in Lumberyard 1.15 it has been removed.
To add your library, you can edit \dev_WAF_\3rdParty\wwise.json instead.
As for the plugin header, you might want to avoid adding it to AllPluginsFactories.h and just include it somewhere in Lumberyard source, I usually edit AudioSystemImpl_wwise.cpp and add plugin includes to that file.
Hope this helps! Let me know how it goes.
If there's a name conflict you may want to change the name of your plugin's function. The 'SetAudioInputCallbacks' function is part of the SDK associated with Audio Input Source plugin, and we also make use of that in Lumberyard. I assume you're basing your plugin off the Audio Input Source plugin, could you rename your callback registration function? You shouldn't need to disable one to get the other working.
I did that, added the name of my new lib to 'ak_source_libs' and now I get the following build error SeverityCodeDescriptionProjectFileLineSuppression State ErrorLNK2005"void __cdecl SetAudioInputCallbacks(void (__cdecl*)(unsigned long,class AkAudioBuffer ),void (__cdecl)(unsigned long,struct AkAudioFormat &),float (__cdecl*)(unsigned long))" (?SetAudioInputCallbacks@@YAXP6AXKPEAVAkAudioBuffer@@@ZP6AXKAEAUAkAudioFormat@@@ZP6AMK@Z@Z) already defined in AkAudioInputSource.lib(AkFXSrcAudioInput.obj)_WAF_j:\Main\Solutions\LumberyardSDK_vs15.depproj\AkAudioInputSource.lib(AkFXSrcAudioInput.obj)1
I think I figured it out, the new plugin and AkAudioInputSource must be sharing the same static function name. I disabled AkAudioInputSource and the new plugin links fine.
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago