#include "dc/dc_Types.h"
Functions | |
DC_RT_FMAC1 int32_t | dcxml_xmlduration2duration (char *p) |
Converts an XML duration into an integer. | |
DC_RT_FMAC1 char * | dcxml_duration2xmlduration (char *dest, int32_t duration) |
Converts an integer duration into an XML duration. |
DC_RT_FMAC1 int32_t dcxml_xmlduration2duration | ( | char * | p | ) |
Converts an XML duration into an integer.
[in,out] | p | The XML duration. Note that this string may be modified during the call. Do not call if the string must not be modified. |
DC_RT_FMAC1 char* dcxml_duration2xmlduration | ( | char * | dest, | |
int32_t | duration | |||
) |
Converts an integer duration into an XML duration.
[out] | dest | the destination buffer. Must be DURATION_MAX_SIZE at least. |
duration | The duration in seconds to convert. |