pspatrac3.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  * pspatrac3.h - Prototypes for the sceAtrac3plus library
00007  *
00008  * Copyright (c) 2006 moonlight
00009  *
00010  * $Id: pspatrac3.h 2217 2007-04-18 18:45:27Z chip $
00011  */
00012 #ifndef __LIBATRAC3_H__
00013 #define __LIBATRAC3_H__
00014 
00015 #include <psptypes.h>
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00029 int sceAtracSetDataAndGetID(void *buf, SceSize bufsize);
00030 
00045 int sceAtracDecodeData(int atracID, u16 *outSamples, int *outN, int *outEnd, int *outRemainFrame);
00046 
00057 int sceAtracGetRemainFrame(int atracID, int *outRemainFrame);
00058 
00070 int sceAtracGetStreamDataInfo(int atracID, u8** writePointer, u32* availableBytes, u32* readOffset);
00071 
00079 int sceAtracAddStreamData(int atracID, unsigned int bytesToAdd);
00080 
00090 int sceAtracGetBitrate(int atracID, int *outBitrate);
00091 
00101 int sceAtracSetLoopNum(int atracID, int nloops);
00102 
00111 int sceAtracReleaseAtracID(int atracID);
00112 
00122 int sceAtracGetNextSample(int atracID, int *outN);
00123 
00133 int sceAtracGetMaxSample(int atracID, int *outMax); 
00134 
00135 #ifdef __cplusplus
00136 }
00137 #endif
00138 
00139 #endif

Generated on Tue Jul 24 15:21:22 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2