天道酬勤,学无止境

ATK

如何在vc++6.0/2003/2005/2008中调用ATK

Application Example using the ATK Real-Time API 下面是一个关于HTK的例子 #include "stdafx.h" #include "dllSudx.h" typedef vector struct ASampleSet { char name[256]; TSoundTag tags[301]; }; typedef vector TStringArray sampleList; TSampleSetList sampleSetList; int vector_count = 0; int ListWavFiles(char* dir, TStringArray& fileList) { struct _finddata_t c_file; long hFile; char tmp[1024]; int retVal = 0; sprintf(tmp, "%s//%s", dir, "*.wav"); /* Find first .c file in current directory */ if( (hFile = _findfirst( tmp, &c_file )) == -1L ) return retVal; else { sprintf(tmp, "%s//%s", dir, c_file.name)

2021-05-18 13:03:53    分类:博客    vc++6.0   ATK