TL;DR: What is the UE 5.5 replacement for the FSoundBuffer* Buffer parameter in the FSoundBuffer class (Line 787-788)?
UPDATE: The more I read this message, it's become clearer to me where to start my search to find the correct documentation. Still stuck, but I will update here with my progress. For anyone else that might see this issue.
Hi, anyone know where I can reference the documentation or logic to solve a compile error I'm getting with the oculus-5.5 branch for the Meta Quest UE Source fork on Github?
UPDATE 3: Looks like the Meta development team has updated this part of the code specifically for 'cleaning up the buffer when it failed' . There's a conditional block to initialize the Source object in the AudioDevice::StartSources method.
...GitHub\Oculus\UnrealEngine\Engine\Source\Runtime\Engine\Private\AudioDevice.cpp(4543): warning C4996: 'FSoundSource::Buffer':
...
GitHub\Oculus\UnrealEngine\Engine\Source\Runtime\Engine\Private\AudioDeviceManager.cpp(241): warning C4996: 'FAudioDeviceManager::FreeBufferResource':
...
GitHub\Oculus\UnrealEngine\Engine\Source\Runtime\Engine\Private\AudioDeviceManager.cpp(1144): warning C4996: 'FAudioDeviceManager::StopSourcesUsingBuffer':
This message follows each of those pointers:
'This is no longer used and should not be accessed directly. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.'
The documentation or code itself is almost* enough to help me fix the issue.
(UPDATE 2: found the links below - I'll update here if I can't find the solution.
AudioDeviceManager: https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/Engine/FAudioDeviceManager,
AudioDevice: https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/Engine/FAudioDevice)
Thanks for this community & channel.