![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "binka_ue_decode.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include "console.h"#include "binka_ue_decode_test_data_in.h"#include "binka_ue_decode_test_data_out.h"Functions | |
| memcpy (InputBufferBase, BinkBlocksData, BinkBlocksSize) | |
| Interface | OpenFn (DecoderMem, 48000, 1, false, false) |
| for (;InputBuffer< InputBufferEnd;BlockIndex++) | |
| free (DecoderMem) | |
| free (InputBufferBase) | |
| console_handleevents () | |
| if (Failed) console_printf("Failed.\n") | |
| else | console_printf ("Succeeded.\n") |
Variables | |
| CONSOLE_MAIN | |
| bool | Failed = false |
| UEBinkAudioDecodeInterface * | Interface = UnrealBinkAudioDecodeInterface() |
| void * | DecoderMem = malloc(Interface->MemoryFn(48000, 1)) |
| char * | InputBufferBase = (char*)malloc(BinkBlocksSize + BINK_UE_DECODER_END_INPUT_SPACE) |
| char const * | InputBuffer = InputBufferBase |
| char * | InputBufferEnd = InputBufferBase + BinkBlocksSize |
| short * | CheckBuffer = (short*)PcmBlocksData |
| int | BlockIndex = 0 |
| console_handleevents | ( | ) |
| else console_printf | ( | "Succeeded.\n" | ) |
| for | ( | ) |
| free | ( | DecoderMem | ) |
| free | ( | InputBufferBase | ) |
| if | ( | Failed | ) |
| memcpy | ( | InputBufferBase | , |
| BinkBlocksData | , | ||
| BinkBlocksSize | |||
| ) |
| Interface OpenFn | ( | DecoderMem | , |
| 48000 | , | ||
| 1 | , | ||
| false | , | ||
| false | |||
| ) |
| int BlockIndex = 0 |
| CONSOLE_MAIN |
| void* DecoderMem = malloc(Interface->MemoryFn(48000, 1)) |
| return Failed = false |
| char const* InputBuffer = InputBufferBase |
| char* InputBufferBase = (char*)malloc(BinkBlocksSize + BINK_UE_DECODER_END_INPUT_SPACE) |
| char* InputBufferEnd = InputBufferBase + BinkBlocksSize |
| UEBinkAudioDecodeInterface* Interface = UnrealBinkAudioDecodeInterface() |