Navigation
API > API/Runtime > API/Runtime/SignalProcessing
| Name | FAudioFileWriter |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/FileEncoder.h |
| Include Path | #include "DSP/FileEncoder.h" |
Syntax
class FAudioFileWriter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| DSP/FileEncoder.h | |||
FAudioFileWriter
(
const FString& InPath, |
Constructor. | DSP/FileEncoder.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAudioFileWriter() |
Calling the destructor on this class finalizes and closes out the file. | DSP/FileEncoder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataBuffer | TArray< uint8 > | DSP/FileEncoder.h | ||
| Encoder | TUniquePtr< IAudioEncoder > | Compressor we are using. | DSP/FileEncoder.h | |
| FileHandle | TUniquePtr< IFileHandle > | Handle to file we are writing to. | DSP/FileEncoder.h | |
| QualityInfo | FSoundQualityInfo | DSP/FileEncoder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool EncodeIfPossible() |
If PushAudio is called with bEncodeIfPossible set to false, this will need to be called. | DSP/FileEncoder.h | |
void GetFileInfo
(
FSoundQualityInfo& OutInfo |
Returns file information. | DSP/FileEncoder.h | |
bool PushAudio
(
const float* InAudio, |
Use this to push audio to the file writer. | DSP/FileEncoder.h |