UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uewav.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2/*
3 Oodle WAVE is a simple data transform on PCM audio data that is modifies the data to be more compressible by Oodle.
4*/
5#pragma once
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11// Encodes/decodes 16-bit samples. samples is the input/output buffer, scratch_buffer is a temporary buffer.
12// operates in place. samples is both input and output.
13// scratch_buffer should be the same size as samples.
14// num_samples is the number of samples in the buffer
15// num_channels is the number of channels in the buffer.
16void uewav_encode16(short *samples, short *scratch_buffer, long long num_samples, long long num_channels);
17void uewav_decode16(short *samples, short *scratch_buffer, long long num_samples, long long num_channels);
18
19#ifdef __cplusplus
20}
21#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void uewav_encode16(short *samples, short *scratch_buffer, long long num_samples, long long num_channels)
void uewav_decode16(short *samples, short *scratch_buffer, long long num_samples, long long num_channels)