pspsdk-1.0+beta2
pspaudiocodec.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspaudiocodec.h - Prototypes for the sceAudiocodec library.
7  *
8  * Copyright (c) 2006 hitchhikr
9  *
10  * $Id: pspaudiocodec.h 2430 2008-08-28 12:04:04Z Raphael $
11  */
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #define PSP_CODEC_AT3PLUS (0x00001000)
18 #define PSP_CODEC_AT3 (0x00001001)
19 #define PSP_CODEC_MP3 (0x00001002)
20 #define PSP_CODEC_AAC (0x00001003)
21 
22 
23 int sceAudiocodecCheckNeedMem(unsigned long *Buffer, int Type);
24 int sceAudiocodecInit(unsigned long *Buffer, int Type);
25 int sceAudiocodecDecode(unsigned long *Buffer, int Type);
26 int sceAudiocodecGetEDRAM(unsigned long *Buffer, int Type);
27 int sceAudiocodecReleaseEDRAM(unsigned long *Buffer);
28 
29 #ifdef __cplusplus
30 }
31 #endif