[core,codecs] add stringify helper

add freerdp_codec_id_to_str to get a string representation of a given
codec id
This commit is contained in:
akallabeth
2025-10-06 08:37:35 +02:00
parent 8ccdfb70b2
commit fc2ae4cf41
2 changed files with 25 additions and 0 deletions

View File

@@ -95,6 +95,13 @@ extern "C"
FREERDP_API rdpCodecs* codecs_new(rdpContext* context));
#endif
/** @brief return a string representation of the given codecid
* * @param id The codec to stringify
* @return The name of the codecid
* @since version 3.18.0
*/
FREERDP_API const char* freerdp_codec_id_to_str(enum RDP_CODEC_ID id);
#ifdef __cplusplus
}
#endif