VERSIONS:
UE - 4.20.3
Wwise - 2018.1.4.6807 (unlicensed)
Dante Virtual Soundcard - 4.0.4.4
Dante Controller - 4.1.0.5
We recently set up a Wwise game-integration (as opposed to engine-integration) with UE4 with the intention of proving we could use Dante Virtual Soundcard to have discrete routing to multiple speaker channels via the ASIO plugin in Wwise. We used the setup instructions at: https://www.audiokinetic.com/library/edge/?source=Help&id=wwise_asio_output_plug_in.
We created a ShareSet for the Wwise Channel Router as shown:
And then set up busses with the Mixer Plug-in as shown here (only 3 discrete channels, to test the output):
Next, we confirmed that the Audio Device was set appropriately in Audio Preferences:
We also added inclusions for the plugins in the project code to fix some other errors that immediately showed up:
in file: AkAudioDevice.cpp at lines 114/115
#include <AK/Plugin/ASIOSourceSinkFactory.h>
#include <AK/Plugin/AkRouterMixerFXFactory.h>
in file: AkAudio.Build.cs at lines 416/417
AddWwiseLib(Target, "ASIOSourceSink");
AddWwiseLib(Target, "AkRouterMixerFX");
And lastly, we set the WWISEASIODRV Environment Variable to each of the following permutations, with system restarts in between each adjustment:
Dante Virtual Soundcard (x64)
Dante Virtual Soundcard
"Dante Virtual Soundcard (x64)"
"Dante Virtual Soundcard"
ASIO - Dante Virtual Soundcard (x64)
following these instructions:
(text copied below)
Selecting an ASIO driver outside of Wwise authoring
To select an ASIO hardware device outside of the Wwise authoring tool, it is necessary to create a "WWISEASIODRV" environment variable with a value set to match the ASIO driver name specified for a master bus in the Hardware Devices group box of the Audio Preferences.
For example, with an ASIO Output Audio Device ShareSet named "ASIO_Output", if "ASIO_Output - Name of an ASIO Driver" is shown in the Hardware Device column, WWISEASIODRV must be set to a value of "Name of an ASIO Driver".
After generating soundbanks for Windows-platform in Wwise (redundant safety), then opening the Unreal Editor and also generating soundbanks, we get this error (three times):
(text copied below)
LogAkAudio: Error: ASIO Output: Could not find driver with id = -1504029912: 0
LogAkAudio: Error: The Output Device specified by AddOutput() or Init() could not be initialized.
LogAkAudio: Reverting to Dummy Audio Device (no output).
The result is: The audio monitors correctly when played through Wwise alone (i.e. the channel 3 event meters on the expected channels), but it does not seem to function at all in Unreal.
NOTE: Regardless of what I set the value of the WWISEASIODRV Environmental Variable as, that driver ID number remains the same.
Any thoughts on what I may be missing or doing incorrectly?
Thanks!