2022-06-15 18:13:28 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Containers/Array.h"
|
2023-05-23 18:13:14 -04:00
|
|
|
#include "WaveTable.h"
|
2022-06-15 18:13:28 -04:00
|
|
|
|
|
|
|
|
|
2023-05-23 18:13:14 -04:00
|
|
|
namespace WaveTable::Editor
|
2022-06-15 18:13:28 -04:00
|
|
|
{
|
2023-05-23 18:13:14 -04:00
|
|
|
namespace FileUtilities
|
2022-06-15 18:13:28 -04:00
|
|
|
{
|
2023-05-23 18:13:14 -04:00
|
|
|
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
|
2023-01-25 02:42:36 -05:00
|
|
|
|
|
|
|
|
#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2
|
|
|
|
|
#include "Containers/UnrealString.h"
|
|
|
|
|
#endif
|