Source: data-flow/include/cwrapper.h
|
|
|
|
// Copyright (C) 2001 Jean-Marc Valin
#ifndef CWRAPPER_H
#define CWRAPPER_H
#ifdef __cplusplus
extern "C" {
#endif
/**Initializes the Overflow library*/
void overflowInitialize(void);
void overflowInitializeNoDL(void);
/**Loads an Overflow .n document*/
void *overflowLoadDocument(char *filename);
/**Runs a document that returns a frame buffer*/
int overflowProcessAudioFile(void *vdoc, char **argv, int *length, int *nbFeatures, float **data);
/**Create an Overflow network from a document*/
void *overflowNewNetwork(void *vdoc, char **argv);
/**Processes one frame*/
int overflowProcessFrame(void *vnet, float *in, int inLength, float **out, int *outLength);
/**Processes one frame*/
int overflowProcessFrame2(void *vnet, float *in, int inLength, float *out, int outLength);
/**Destroys an Overflow network*/
void destroyNetwork(void *vnet);
/**Destroys (closes) an Overflow document*/
void destroyDocument(void *vdoc);
#ifdef __cplusplus
}
#endif
#endif
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40. |