• 首頁
  • 文件
  • 下載
  • 狀態
  • 常見問題
  • 郵件列表
  • 應用程式
  • 外部鏈結
  • 版權
  • 志願者
  • 聯繫

函式庫

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