dxd - dynax driver framework 2.1.0d60
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin Struct Reference

#include <dx_stream.h>

+ Inheritance diagram for dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin:
+ Collaboration diagram for dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin:

Public Types

typedef struct pin desc
 
enum class  plug : uint32_t {
  line = 'line' , digital = 'dgtl' , spdif = 'spdf' , din = 'din5' ,
  synth = 'snth' , keyboard = 'keys' , dsp = 'dsp\0' , control = 'cntr'
}
 

Public Member Functions

std::string describe () const
 describes pin as channels*format/[in|out] #idx:plug
 

Public Attributes

uint32_t channels
 amount of channels in pin
 
encoder encoder
 
circular::format format
 
bool hidden
 if hidden prevent audio client (CoreAudio, PortClass, ASIO) auto attach
 
uint32_t index
 MIDI:cable number; audio:channel array start.
 
uint32_t latency
 pin latency in samples
 
char name [0x40]
 
enum dx::stream::desc::stream::pin::plug plug
 

Member Typedef Documentation

◆ desc

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>
typedef struct pin dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::desc

Member Enumeration Documentation

◆ plug

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>
enum class dx::stream::desc::stream::pin::plug : uint32_t
strong
Enumerator
line 

stereo line interface: kAudioStreamTerminalTypeLine

Todo
use USB terminal ids and DEFINE_USB_TERMINAL_GUID
digital 

digital multi channel audio interface

spdif 

stereo SPDIF digital audio interface: kAudioStreamTerminalTypeDigitalAudioInterface

din 

device-external 5 pin DIN MIDI connector

synth 

device-internal MIDI synthesizer

keyboard 

MIDI keyboard.

dsp 

digital signal processor

control 

control device

Member Function Documentation

◆ describe()

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>
std::string dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::describe ( ) const
inline

describes pin as channels*format/[in|out] #idx:plug

+ Here is the call graph for this function:

Member Data Documentation

◆ channels

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>
uint32_t dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::channels

amount of channels in pin

◆ encoder

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>
encoder dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::encoder

◆ format

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>
circular::format dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::format

◆ hidden

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>
bool dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::hidden

if hidden prevent audio client (CoreAudio, PortClass, ASIO) auto attach

◆ index

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>
uint32_t dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::index

MIDI:cable number; audio:channel array start.

◆ latency

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>
uint32_t dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::latency

pin latency in samples

◆ name

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>
char dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::name[0x40]
Todo
remove redundant pin_desc typedef once the llvm understands templates (coremidi)

◆ plug

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>
enum dx::stream::desc::stream::pin::plug dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::pin::plug

The documentation for this struct was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Sun May 5 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.