pspaudiocodec.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspaudiocodec.h - Prototypes for the sceAudiocodec library.
00007  *
00008  * Copyright (c) 2006 hitchhikr
00009  *
00010  * $Id: pspaudiocodec.h 2430 2008-08-28 12:04:04Z Raphael $
00011  */
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 #define PSP_CODEC_AT3PLUS       (0x00001000)
00018 #define PSP_CODEC_AT3           (0x00001001)
00019 #define PSP_CODEC_MP3           (0x00001002)
00020 #define PSP_CODEC_AAC           (0x00001003)
00021 
00022 
00023 int sceAudiocodecCheckNeedMem(unsigned long *Buffer, int Type);
00024 int sceAudiocodecInit(unsigned long *Buffer, int Type);
00025 int sceAudiocodecDecode(unsigned long *Buffer, int Type);
00026 int sceAudiocodecGetEDRAM(unsigned long *Buffer, int Type);
00027 int sceAudiocodecReleaseEDRAM(unsigned long *Buffer);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif