Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

+3 votes

Hi,

We recently updated our project from UE 4.15.2 to UE 4.17.2.

We so updated our Wwise Project and Wwise UE Integration from 2016.2.4 to 2016.2.5.

The project launched previously perfectly on Win64, PS4 and XBoxOne.

But now the project never launched on XboxOne.

It fails during AcpHalAllocateShapeContexts call with a HRESULT value to 0x8ac80001 which correspond to ACP_E_ALREADY_ALLOCATED even if XAUDIO2_DO_NOT_USE_SHAPE is clearely passed to XAudio2Create() during FXAudio2Device::InitializeHardware()

> WwiseDemoGame-XboxOne-Debug.exe!FXMAAudioInfo::Initialize() Line 62 C++

  WwiseDemoGame-XboxOne-Debug.exe!FXAudio2Device::InitializeHardware() Line 273 C++

  WwiseDemoGame-XboxOne-Debug.exe!FAudioDevice::Init(int InMaxChannels) Line 264 C++

  WwiseDemoGame-XboxOne-Debug.exe!FAudioDeviceManager::CreateAudioDevice(bool bCreateNewDevice, FAudioDeviceManager::FCreateAudioDeviceResults & OutResults) Line 148 C++

  WwiseDemoGame-XboxOne-Debug.exe!UEngine::InitializeAudioDeviceManager() Line 2116 C++

  WwiseDemoGame-XboxOne-Debug.exe!UEngine::Init(IEngineLoop * InEngineLoop) Line 987 C++

  WwiseDemoGame-XboxOne-Debug.exe!UGameEngine::Init(IEngineLoop * InEngineLoop) Line 558 C++

  WwiseDemoGame-XboxOne-Debug.exe!FEngineLoop::Init() Line 2665 C++

  WwiseDemoGame-XboxOne-Debug.exe!EngineInit(const wchar_t * SplashName) Line 686 C++

  WwiseDemoGame-XboxOne-Debug.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 746 C++

  WwiseDemoGame-XboxOne-Debug.exe!GuardedMainExceptionWrapper(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 771 C++

  WwiseDemoGame-XboxOne-Debug.exe!ViewProvider::[Windows::ApplicationModel::Core::IFrameworkView]::Run() Line 532 C++

  WwiseDemoGame-XboxOne-Debug.exe!ViewProvider::[Windows::ApplicationModel::Core::IFrameworkView]::__abi_Windows_ApplicationModel_Core_IFrameworkView____abi_Run() C++

  appmodel.dll!00000101a97bd526() Unknown

  ntdll.dll!00000101a9307268() Unknow

I tried with WwiseDemoGame 2016.2.4 with the same result.

I also try with more recent demos from 2017.1.2 to 2017.1.3 with the same result.

I am using Windows 10 Pro, UE 4.17.2 from Epic Games Perforce, XDK 170302 (March 2017 QFE 2), XBoxOne OS Version October 2017, Visual Studio Version 14 Update 3, Debug or Development configuration.

 

Kind regards,

dans General Discussion par Christophe B. (130 points)

1 Réponse

0 votes
Did you check the procedure to disable UE4 audio ? As mentioned in release notes, since Unreal 4.17, the Unreal audio system needs to be disabled on the Xbox One and Switch platforms. Please refer to FAQ for more information (the layout of the online doc has some issues, we are working on fixing that) https://www.audiokinetic.com/library/edge/?source=UE4&id=using__faq.html
par Noemie P. (Audiokinetic) (12.9k points)
Are you aware that your sample did not include this parameter?
It could be a good idea...

Just adding these lines in <GAME>/Config/XboxOne/XboxOneEngine.ini
(present in your sample) seems to do the trick.

[Audio]
AudioDeviceModuleName=

Thanks a lot for the fast response.
We are having difficulty finding the documentation on how to disable the Unreal audio system. The above FAQ link doesn't seem to lead to the answer. Can you point me in the right direction?
If in your project Config folder there is not yet a XboxOne/XboxOneEngine.ini configuration file, create it.

And simpply add these lines to deactivate the UnrealEngine AudioDeviceModule :

[Audio]
AudioDeviceModuleName=

Nothing else.
...