• 首页
  • 文件
  • 下载
  • 状态
  • 常见问题
  • 邮件列表
  • 应用程序
  • 外部链结
  • 版权
  • 志愿者
  • 联络

函式库

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 ) ;