summaryrefslogtreecommitdiff
path: root/include/user/audiocodec.h
blob: 2628fd4afb579d2f6d7e7ee38efb8b8cc4362ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _DOLCESDK_PSP2_AUDIOCODEC_H_
#define _DOLCESDK_PSP2_AUDIOCODEC_H_

#ifdef	__cplusplus
extern "C" {
#endif

#define SCE_AUDIOCODEC_ATX        (0x00001000) //AT3PLUS?
#define SCE_AUDIOCODEC_AT3        (0x00001001)
#define SCE_AUDIOCODEC_MP3        (0x00001002)
#define SCE_AUDIOCODEC_AAC        (0x00001003)
#define SCE_AUDIOCODEC_AT9        (0x00001004)

typedef struct SceAudiocodecControl SceAudiocodecControl;

int sceAudiocodecInit(SceAudiocodecControl *ctrl, int codecType);

int sceAudiocodecQueryMemSize(SceAudiocodecControl *ctrl, int codecType);

int sceAudiocodecDecode(SceAudiocodecControl *ctrl, int codecType);

#ifdef	__cplusplus
}
#endif

#endif /* _DOLCESDK_PSP2_AUDIOCODEC_H_ */