uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
libaac.h
1/* Copyright (C) 2011, 2012, 2013 The uOFW team
2 See the file COPYING for copying permission.
3*/
4
5#ifndef LIBAAC_H
6#define LIBAAC_H
7
8#include <common_header.h>
9
10typedef struct {
11 s32 streamStart; // 0
12 s32 start; // 4
13 s32 streamEnd; // 8
14 s32 end; // 12
15 void *encBuf; // 16
16 s32 encSize; // 20
17 void *decBuf; // 24
18 s32 decSize; // 28
19 s32 sampleRate; // 32
20 s32 zero; // 36
21} SceAacInitArg;
22
23s32 sceAacEndEntry(void);
24s32 sceAacInitResource(s32 nbr);
25s32 sceAacTermResource(void);
26s32 sceAacInit(SceAacInitArg *arg);
27s32 sceAac_E955E83A(s32 *sampleRate);
28s32 sceAacExit(s32 id);
29s32 sceAacDecode(s32 id, void** src);
30s32 sceAac_FA01FCB6(s32 id, void *arg1, s32 *arg2, void *arg3, s32 *arg4);
31s32 sceAacCheckStreamDataNeeded(s32 id);
32s32 sceAacGetInfoToAddStreamData(s32 id, s32 **arg1, s32 *arg2, s32 *arg3);
33s32 sceAacNotifyAddStreamData(s32 id, s32 size);
34s32 sceAacResetPlayPosition(s32 id);
35s32 sceAacSetLoopNum(s32 id, s32 loopNum);
36s32 sceAacGetMaxOutputSample(s32 id);
37s32 sceAacGetSumDecodedSample(s32 id);
38s32 sceAacGetLoopNum(s32 id);
39s32 sceAacStartEntry(SceSize argc, void *argp);
40
41#endif /* LIBAAC_H */