Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

RaspberryPi: LoadBank => File Location Resolver returned an invalid device ID

0 votes

Hi everybody,

I'm developping a custom sound engine following the getting started 

I manage to make it works on my laptop

But when I compile (with sdk librairies for ARM) and run I'm facing to that issue when I call the first AK::SoundEngine::LoadBank

...

if (g_lowLevelIO.SetBasePath(AKTEXT("./assets")) != AK_Success) {

     throw "Error SetBasePath";

}

AkBankID bankInitID; // Not used

if (AK::SoundEngine::LoadBank(BANKNAME_INIT, bankInitID) != AK_Success)

{

throw "Error loading init bank";

}

AkBankID bankCarID; // Not used

if (AK::SoundEngine::LoadBank(BANKNAME_CAR, bankCarID) != AK_Success)

{

throw "Error loading car bank";

}

...

../Common/AkStreamMgr.h:340 Assertion Failed! Expression:!"Invalid device ID"
[0] 0x0x55557f6260
../Common/AkStreamMgr.cpp:654 Assertion Failed! Expression:!"File Location Resolver returned an invalid device ID"
[0] 0x0x55557f6260
../Common/AkStreamMgr.h:340 Assertion Failed! Expression:!"Invalid device ID"
[0] 0x0x55557f6260
../Common/AkStreamMgr.cpp:654 Assertion Failed! Expression:!"File Location Resolver returned an invalid device ID"
[0] 0x0x55557f6260
AK Error: Bank Load Failed

 

I'm using the default low level IO provided by AudioKinetic SDK.

While debugging I think the issue targets the audio device opening

Any ideas ?

asked Apr 19, 2022 in General Discussion by Saïd L. (160 points)
edited Apr 23, 2022 by Saïd L.

Please sign-in or register to answer this question.

...