(Page 19 of 41 in this chapter) Version
typedef struct
{
DWORD size;
DWORD filetype;
DWORD openmode;
DWORD encoding;
CTAHD ctahd;
} VCE_OPEN_INFO;
/* Get the encoding of an open voice file*/
unsigned myGetEncoding (VCEHD vh)
{
VCE_OPEN_INFO openinfo;
if (vceGetOpenInfo (vh, &openinfo, sizeof openinfo) != SUCCESS)
return 0;
return openinfo.encoding;
}
(Page 19 of 41 in this chapter) Version