template<typename target_t = void_struct, int max_streams = 2, int max_pins = 1, int max_clock_settings = 1, int max_clocks = 1, int max_configurations = 1, int max_sources = 1>
struct dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations, max_sources >::stream::config
dx::desc::stream::config interface descriptor
A stream can have various configuration with varying supported samples rates, number of channels and data formats.
- Todo
- move target from stream to stream::config to relate USB alternate interface settings to the configuration
template<typename target_t= void_struct, int max_streams= 2, int max_pins= 1, int max_clock_settings= 1, int max_clocks= 1, int max_configurations= 1, int max_sources= 1>
| std::ostream& operator <<(std::ostream& os, const config& config) |
|
friend |
config as channels* format clock domain
template<typename target_t= void_struct, int max_streams= 2, int max_pins= 1, int max_clock_settings= 1, int max_clocks= 1, int max_configurations= 1, int max_sources= 1>
| format dx::stream::desc<target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations, max_sources>::stream::config::format{} |
the stream's format, in its ring and on the bus: none stated, its participants agree on one
template<typename target_t= void_struct, int max_streams= 2, int max_pins= 1, int max_clock_settings= 1, int max_clocks= 1, int max_configurations= 1, int max_sources= 1>
| uint32_t dx::stream::desc<target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations, max_sources>::stream::config::id{} |
the bus entity selecting this configuration (USB: the stream's alternate setting)