12 #ifndef ROC_ADDRESS_IO_URI_H_
13 #define ROC_ADDRESS_IO_URI_H_
bool parse_io_uri(const char *str, IoURI &result)
Parse IoURI from string.
bool format_io_uri(const IoURI &uri, char *buf, size_t buf_size)
Format IoURI to string.
Commonly used types and functions.
Audio file or device URI.
bool is_file() const
Returns true if the scheme is "file".
bool is_special_file() const
Returns true if the scheme is "file" and the path is "-".
char path[1024]
URI path. May be device name or file path depending on scheme.
bool is_empty() const
Returns true if the URI is empty.
IoURI()
Initialize empty URI.
char scheme[16]
URI scheme. May be "file" or device type, e.g. "alsa".