mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user