Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
parse_units.h File Reference

Parse units like duration, size, etc. More...

#include "roc_core/attributes.h"
#include "roc_core/time.h"
Include dependency graph for parse_units.h:

Go to the source code of this file.

Namespaces

 roc
 Root namespace.
 
 roc::core
 General-purpose building blocks and platform abstraction layer.
 

Functions

ROC_ATTR_NODISCARD bool roc::core::parse_duration (const char *string, nanoseconds_t &result)
 Parse duration from string. More...
 
ROC_ATTR_NODISCARD bool roc::core::parse_size (const char *string, size_t &result)
 Parse size from string. More...
 

Detailed Description

Parse units like duration, size, etc.

Definition in file parse_units.h.