Function cognitive_services_speech_sdk_rs::ffi::codec_create
source · [−]pub unsafe extern "C" fn codec_create(
codecid: *const c_char,
codecContext: *mut c_void,
property_read_func: SPX_CODEC_CLIENT_GET_PROPERTY
) -> SPXCODECCTYPE
Expand description
Creates a codec object. This method needs to be exported from the dll @param codecid - codec id, can be null or empty if the library implements only one codec. @param codecContext - context to be used to call back to the caller @param property_read_func - function to read properties @return A codec object