|
◆ RegisterCodec()
Register a codec type with the sound engine and set the callback functions to create the codec's file source and bank source nodes.
- 参照
-
- 戻り値
- AK_Success if successful, AK_InvalidParameter if invalid parameters were provided, or Ak_Fail otherwise. Possible reasons for an AK_Fail result are:
- Insufficient memory to register the codec
- Codec ID already registered
- 引数
-
in_ulCompanyID |
Company identifier (as declared in XML) |
in_ulPluginID |
Plugin identifier (as declared in XML) |
in_pFileCreateFunc |
Factory for streaming sources. |
in_pBankCreateFunc |
Factory for in-memory sources. |
|