CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/Core/HLE/sceAudiocodec.h
Views: 1401
1
// Copyright (c) 2012- PPSSPP Project.
2
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, version 2.0 or later versions.
6
7
// This program is distributed in the hope that it will be useful,
8
// but WITHOUT ANY WARRANTY; without even the implied warranty of
9
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
// GNU General Public License 2.0 for more details.
11
12
// A copy of the GPL 2.0 should have been included with the program.
13
// If not, see http://www.gnu.org/licenses/
14
15
// Official git repository and contact information can be found at
16
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
17
18
#pragma once
19
20
class PointerWrap;
21
22
typedef struct {
23
s32_le unk0;
24
s32_le unk4;
25
s32_le err; // 8
26
s32_le edramAddr; // 12
27
s32_le neededMem; // 16
28
s32_le unk20;
29
u32_le inBuf; // 24
30
s32_le unk28;
31
u32_le outBuf; // 32
32
s32_le unk36;
33
s8 unk40;
34
s8 unk41;
35
s8 unk42;
36
s8 unk43;
37
s8 unk44;
38
s8 unk45;
39
s8 unk46;
40
s8 unk47;
41
s32_le unk48;
42
s32_le unk52;
43
s32_le unk56;
44
s32_le unk60;
45
s32_le unk64;
46
s32_le unk68;
47
s32_le unk72;
48
s32_le unk76;
49
s32_le unk80;
50
s32_le unk84;
51
s32_le unk88;
52
s32_le unk92;
53
s32_le unk96;
54
s32_le unk100;
55
u32_le allocMem; // 104
56
// make sure the size is 128
57
u8 unk[20];
58
} SceAudiocodecCodec;
59
60
void __AudioCodecInit();
61
void __AudioCodecShutdown();
62
void Register_sceAudiocodec();
63
void __sceAudiocodecDoState(PointerWrap &p);
64
65