Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

FEAPIExampleHost_C.cpp File Reference


Detailed Description

example win32 C-host implementation for Feature Extraction // plugin API (FEAPI).

Definition in file FEAPIExampleHost_C.cpp.

#include <time.h>
#include <cstdlib>
#include <iostream>
#include <string.h>
#include "sndfile.h"
#include "FEAPI.h"
#include "FEAPIHostDeclarations.h"
#include "FEAPIHostUtilities.h"

Include dependency graph for FEAPIExampleHost_C.cpp:

Go to the source code of this file.

Defines

#define _DEFAULT_BLOCKSIZE   1024
 default audio processing block length in frames
#define _DEFAULT_RESULTSIZE   1
 default (initial) size of result

Functions

void CLShowProgInfo ()
void CLReadArgs (char **pcInputPath, char **pcOutputPath, bool *pbSilentMode, int argc, char *argv[])
void CLShowProcessedTime (clock_t clTime)
int main (int argc, char *argv[])


Define Documentation

#define _DEFAULT_BLOCKSIZE   1024
 

default audio processing block length in frames

Definition at line 32 of file FEAPIExampleHost_C.cpp.

#define _DEFAULT_RESULTSIZE   1
 

default (initial) size of result

Definition at line 33 of file FEAPIExampleHost_C.cpp.


Function Documentation

void CLReadArgs char **  pcInputPath,
char **  pcOutputPath,
bool *  pbSilentMode,
int  argc,
char *  argv[]
[static]
 

read command line arguments from argv

Parameters:
**pcInputPath : input audio file path, to be written
**pcOutputPath : output text path, to be written
*pbSilentMode : bool if in silent mode or not, to be written
argc :
*argv[] :
Returns:
static void :

Definition at line 567 of file FEAPIExampleHost_C.cpp.

Referenced by main().

void CLShowProcessedTime clock_t  clTime  )  [static]
 

show a processing time estimate after all is done

Parameters:
clTime : current time
Returns:
static void :

Definition at line 594 of file FEAPIExampleHost_C.cpp.

Referenced by main().

void CLShowProgInfo  )  [static]
 

show some program information

Returns:
static void :

Definition at line 557 of file FEAPIExampleHost_C.cpp.

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 75 of file FEAPIExampleHost_C.cpp.

References PluginFileNames_::acFilename, CLReadArgs(), CLShowProcessedTime(), CLShowProgInfo(), FEAPI_kMajorVersion, FEAPI_kMaxChannels, FEAPI_kMaxFrameSize, FEAPI_kMaxSampleRate, FEAPI_kMinChannels, FEAPI_kMinFrameSize, FEAPI_kMinorVersion, FEAPI_kMinSampleRate, FEAPI_kOptFrameSize, FEAPI_kSubVersion, FEAPI_ParameterDescription_t, FEAPI_PluginFileNames_t, FEAPI_PluginFunctions_t, FEAPI_PluginInstance_t, FEAPI_SignalDescription_t, FEAPI_TimeStamp_t, FindPlugins(), GetFunctionPointers(), PluginFileNames_::iMajorVersion, LoadPluginModule(), PluginFileNames_::pNextPlugin, and UnloadPluginModule().

Here is the call graph for this function:


Generated on Fri Mar 23 10:28:52 2007 for FEAPI Host Documentation by  doxygen 1.3.9.1