persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
AudioTypes.hpp
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3#include <cstdio>
4#include <p3d-qoa>
5
6extern "C"
7{
8#include "soundbank.h"
9}
10
15{
16 qoa_desc info;
17 FILE* file;
18 uint32_t firstFramePos;
19 uint32_t samplePos;
20
21 uint32_t bufferLen;
22 uint8_t* buffer;
23
24 uint32_t sampleDataPos;
25 uint32_t sampleDataLen;
26 short* sampleData;
27};
28
32enum class SFX
33{
34 SFX_0 = SFX_CANCEL,
35 SFX_1 = SFX_MENU,
36 SFX_2 = SFX_SELECT
37};
SFX
SFX wrapper enums.
@ SFX_2
@ SFX_0
@ SFX_1
QOA audio stream data.
uint8_t * buffer
qoa_desc info
uint32_t samplePos
uint32_t firstFramePos
uint32_t bufferLen
uint32_t sampleDataPos
short * sampleData
uint32_t sampleDataLen