Struct anira::ReferenceStream#

struct ReferenceStream#

The resolved reference stream of a HostConfig.

Names the streamable tensor whose preprocess (input) or postprocess (output) size is the unit in which HostConfig::m_buffer_size and HostConfig::m_sample_rate are stated. Produced once by HostConfig::resolve_reference() and stored by the session for the real-time path, which never re-resolves it.

Public Members

bool m_is_input = true#

True if the reference tensor is an input, false if an output.

size_t m_index = 0#

Index of the reference tensor within its input/output list.