wut  1.0.0-beta9
Wii U Toolchain
core.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "result.h"
4 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct AXProfile AXProfile;
17 typedef struct AXInitParams AXInitParams;
18 
19 typedef void(*AXFrameCallback)(void);
20 
22 typedef uint32_t AXInitRenderer;
23 
25 typedef uint32_t AXInitPipeline;
26 
28 {
31 };
32 
34 {
37 };
38 
39 struct AXProfile
40 {
41  // Unknown
42 };
43 
45 {
47  WUT_UNKNOWN_BYTES(4);
49 };
50 WUT_CHECK_OFFSET(AXInitParams, 0x00, renderer);
51 WUT_CHECK_OFFSET(AXInitParams, 0x08, pipeline);
52 WUT_CHECK_SIZE(AXInitParams, 0x0C);
53 
54 void
55 AXInit();
56 
57 void
58 AXQuit();
59 
60 void
62 
63 BOOL
64 AXIsInit();
65 
66 void
67 AXInitProfile(AXProfile *profile,
68  uint32_t count);
69 
70 uint32_t
72  uint32_t count);
73 
75 AXSetDefaultMixerSelect(uint32_t unk0);
76 
79 
82 
83 uint32_t
85 
86 uint32_t
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
AXInitProfile
void AXInitProfile(AXProfile *profile, uint32_t count)
AX_INIT_RENDERER
AX_INIT_RENDERER
Definition: core.h:27
AXInitPipeline
uint32_t AXInitPipeline
A value from enum AX_INIT_PIPELINE.
Definition: core.h:25
AXInitParams::renderer
AXInitRenderer renderer
Definition: core.h:46
AX_INIT_RENDERER_48KHZ
@ AX_INIT_RENDERER_48KHZ
Definition: core.h:30
AXInitParams::pipeline
AXInitPipeline pipeline
Definition: core.h:48
AXIsInit
BOOL AXIsInit()
AXGetInputSamplesPerSec
uint32_t AXGetInputSamplesPerSec()
wut.h
AX_INIT_PIPELINE
AX_INIT_PIPELINE
Definition: core.h:33
AX_INIT_PIPELINE_FOUR_STAGE
@ AX_INIT_PIPELINE_FOUR_STAGE
Definition: core.h:36
AXInitParams
Definition: core.h:44
AX_INIT_RENDERER_32KHZ
@ AX_INIT_RENDERER_32KHZ
Definition: core.h:29
AXInitWithParams
void AXInitWithParams(AXInitParams *params)
result.h
AXInit
void AXInit()
AXFrameCallback
void(* AXFrameCallback)(void)
Definition: core.h:19
AXRegisterFrameCallback
AXFrameCallback AXRegisterFrameCallback(AXFrameCallback callback)
AXProfile
Definition: core.h:39
AXGetInputSamplesPerFrame
uint32_t AXGetInputSamplesPerFrame()
AXSetDefaultMixerSelect
AXResult AXSetDefaultMixerSelect(uint32_t unk0)
AXQuit
void AXQuit()
AXResult
int32_t AXResult
A value from enum AX_RESULT.
Definition: result.h:16
BOOL
int32_t BOOL
Definition: wut_types.h:4
AX_INIT_PIPELINE_SINGLE
@ AX_INIT_PIPELINE_SINGLE
Definition: core.h:35
AXGetSwapProfile
uint32_t AXGetSwapProfile(AXProfile *profile, uint32_t count)
AXInitRenderer
uint32_t AXInitRenderer
A value from enum AX_INIT_RENDERER.
Definition: core.h:22
AXRegisterAppFrameCallback
AXResult AXRegisterAppFrameCallback(AXFrameCallback callback)