Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+3 투표

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,

General Discussion Christophe B. (130 포인트) 로 부터

1 답변

0 투표
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
Noemie P. (Audiokinetic) (12.9k 포인트) 로 부터
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.
...