2013-06-08 17:28:58 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-06-22 12:01:23 +00:00
|
|
|
typedef struct {
|
2013-08-19 11:55:28 +00:00
|
|
|
s32_le unk0;
|
|
|
|
s32_le unk4;
|
|
|
|
s32_le err; // 8
|
|
|
|
s32_le edramAddr; // 12
|
|
|
|
s32_le neededMem; // 16
|
|
|
|
s32_le unk20;
|
|
|
|
u32_le inBuf; // 24
|
|
|
|
s32_le unk28;
|
|
|
|
u32_le outBuf; // 32
|
|
|
|
s32_le unk36;
|
2013-06-08 17:28:58 +00:00
|
|
|
s8 unk40;
|
|
|
|
s8 unk41;
|
|
|
|
s8 unk42;
|
|
|
|
s8 unk43;
|
|
|
|
s8 unk44;
|
|
|
|
s8 unk45;
|
|
|
|
s8 unk46;
|
|
|
|
s8 unk47;
|
2013-08-19 11:55:28 +00:00
|
|
|
s32_le unk48;
|
|
|
|
s32_le unk52;
|
|
|
|
s32_le unk56;
|
|
|
|
s32_le unk60;
|
|
|
|
s32_le unk64;
|
|
|
|
s32_le unk68;
|
|
|
|
s32_le unk72;
|
|
|
|
s32_le unk76;
|
|
|
|
s32_le unk80;
|
|
|
|
s32_le unk84;
|
|
|
|
s32_le unk88;
|
|
|
|
s32_le unk92;
|
|
|
|
s32_le unk96;
|
|
|
|
s32_le unk100;
|
|
|
|
u32_le allocMem; // 104
|
2013-06-08 17:28:58 +00:00
|
|
|
// make sure the size is 128
|
|
|
|
u8 unk[20];
|
|
|
|
} SceAudiocodecCodec;
|
|
|
|
|
2014-06-22 12:01:23 +00:00
|
|
|
void __AudioCodecInit();
|
|
|
|
void __AudioCodecShutdown();
|
2014-03-23 18:45:08 +00:00
|
|
|
void Register_sceAudiocodec();
|
2014-03-27 14:10:53 +00:00
|
|
|
void __sceAudiocodecDoState(PointerWrap &p);
|