faac.h   faac.h 
skipping to change at line 19 skipping to change at line 19
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A
* *
* $Id: faac.h,v 1.30 2003/09/24 16:29:31 knik Exp $ * $Id: faac.h,v 1.32 2003/11/24 18:10:32 knik Exp $
*/ */
#ifndef _FAAC_H_ #ifndef _FAAC_H_
#define _FAAC_H_ #define _FAAC_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
#ifdef WIN32 #ifdef WIN32
#ifndef FAACAPI # ifndef FAACAPI
#define FAACAPI __stdcall # define FAACAPI __stdcall
#endif # endif
#else #else
#ifndef FAACAPI # ifndef FAACAPI
#define FAACAPI # define FAACAPI
#endif # endif
#endif #endif
#pragma pack(push, 1) #pragma pack(push, 1)
typedef struct { typedef struct {
void *ptr; void *ptr;
char *name; char *name;
} psymodellist_t; }
psymodellist_t;
#include "faaccfg.h" #include "faaccfg.h"
typedef void *faacEncHandle; typedef void *faacEncHandle;
faacEncConfigurationPtr FAACAPI faacEncGetCurrentConfiguration(faacEncHandl /*
e hEncoder); Allows an application to get FAAC version info. This is intended
int FAACAPI faacEncSetConfiguration (faacEncHandle hEncoder, faacEncConfigu purely for informative purposes.
rationPtr config);
Returns FAAC_CFG_VERSION.
*/
int FAACAPI faacEncGetVersion(char **faac_id_string,
char **faac_copyright_string);
faacEncConfigurationPtr FAACAPI
faacEncGetCurrentConfiguration(faacEncHandle hEncoder);
int FAACAPI faacEncSetConfiguration(faacEncHandle hEncoder,
faacEncConfigurationPtr config);
faacEncHandle FAACAPI faacEncOpen(unsigned long sampleRate, faacEncHandle FAACAPI faacEncOpen(unsigned long sampleRate,
unsigned i unsigned int numChannels,
nt numChannels, unsigned long *inputSamples,
unsigned l unsigned long *maxOutputBytes);
ong *inputSamples,
unsigned l
ong *maxOutputBytes);
int FAACAPI faacEncGetDecoderSpecificInfo(faacEncHandle hEncoder, int FAACAPI faacEncGetDecoderSpecificInfo(faacEncHandle hEncoder, unsigned
char **ppBuffer,
unsigned char** ppBuffer, unsigned long *pSizeOfDecoderSpeci
ficInfo);
unsigned long* pSizeOfDecoderSpecificInfo);
int FAACAPI faacEncEncode(faacEncHandle hEncoder, int FAACAPI faacEncEncode(faacEncHandle hEncoder, int32_t * inputBuffer, un
int32_t *inputBuffer, signed int samplesInput,
unsigned int samplesInput, unsigned char *outputBuffer,
unsigned char *outputBuffer, unsigned int bufferSize);
unsigned int bufferSize
);
int FAACAPI faacEncClose(faacEncHandle hEncoder); int FAACAPI faacEncClose(faacEncHandle hEncoder);
#pragma pack(pop) #pragma pack(pop)
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _FAAC_H_ */ #endif /* _FAAC_H_ */
 End of changes. 9 change blocks. 
31 lines changed or deleted 37 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/