Files
UnrealEngineUWP/Engine/Plugins/Runtime/WaveTable/Source/WaveTableEditor/Public/WaveTableFileUtilities.h
rob gay 6b6b8a7530 MetaSound node support for traditional "sampler" usage of WaveTables
WaveTable memory reduction, better format support, player node
- Add support for 16bit assets & perform runtime BDC where necessary
- Add support for FixedSampleRate vs resolution
- Cache off and reuse single proxy
- Move entry data to table data in non-editor builds (instead of copying)
#rb helen.yang
#rb miles.flanagan
#rb phil.popp
#jira UE-181355
[FYI] sondra.moyls
#preflight 646bdac6656436839e30b8e1

[CL 25592219 by rob gay in ue5-main branch]
2023-05-23 18:13:14 -04:00

22 lines
721 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "WaveTable.h"
namespace WaveTable::Editor
{
namespace FileUtilities
{
void WAVETABLEEDITOR_API LoadPCMChannel(const FString& InFilePath, int32 InChannelIndex, FWaveTableData& OutData, int32& OutSampleRate);
UE_DEPRECATED(5.3, "Use version of 'LoadPCMChannel' that takes in WaveTableData to support sample rate & bit depth conversion")
void WAVETABLEEDITOR_API LoadPCMChannel(const FString& InFilePath, int32 InChannelIndex, TArray<float>& OutPCMData);
} // namespace FileUtilities
} // namespace WaveTable::Editor
#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2
#include "Containers/UnrealString.h"
#endif