函式庫
C/C++定義
typedef void Converter ( void * destinationBuffer ,
signed int destinationStride ,
void * sourceBuffer ,
signed int sourceStride ,
unsigned int count ,
Dither * ditherGenerator ) ;
typedef void ZeroCopier ( void * destinationBuffer ,
signed int destinationStride ,
unsigned int count ) ;
CaSampleFormat ClosestFormat ( unsigned long availableFormats ,
CaSampleFormat format ) ;
Converter * SelectConverter ( CaSampleFormat sourceFormat ,
CaSampleFormat destinationFormat ,
CaStreamFlags flags ) ;
ZeroCopier * SelectZeroCopier ( CaSampleFormat destinationFormat ) ;
typedef int (*CacInputFunction) ( const void * InputBuffer ,
unsigned long FrameCount ,
unsigned long StatusFlags ,
CaTime CurrentTime ,
CaTime InputBufferAdcTime ) ;
typedef int (*CacOutputFunction) ( void * OutputBuffer ,
unsigned long FrameCount ,
unsigned long StatusFlags ,
CaTime CurrentTime ,
CaTime OutputBufferDacTime ) ;
typedef CaError HostApiInitializer(HostApi **,CaHostApiIndex) ;
extern void ReplaceHostApiInitializer ( HostApiInitializer ** replacement ) ;
void SetLastHostErrorInfo ( CaHostApiTypeId hostApiType ,
long errorCode ,
const char * errorText ) ;