CoreAudio client pin.
More...
#include <dx_coreaudio.h>
◆ circular_t
◆ 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 |
|
inherited |
◆ desc_t
◆ device_t
◆ 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>
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
|
◆ pin()
dx::coreaudio::pin::pin |
( |
device_t & | device, |
|
|
const typename desc_t::stream::desc & | stream_desc, |
|
|
const typename desc_t::stream::pin::desc & | pin_desc ) |
|
inline |
- Todo
- pin::control: find descriptive, scoping name; evaluate presence in non-kernel interface
◆ ~pin()
virtual dx::coreaudio::pin::~pin |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ attach()
template<unsigned int channels, typename channel_t >
pin & dx::coreaudio::pin::attach |
( |
channel_t ** | io[2], |
|
|
uint64_t | channel_map[(channels+63)/64] ) |
|
inline |
◆ 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 |
|
inlineinherited |
describes pin as channels*format/[in|out] #idx:plug
◆ operator circular_t *()
dx::coreaudio::pin::operator circular_t * |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator->()
circular_t * dx::coreaudio::pin::operator-> |
( |
| ) |
const |
|
inlinenoexcept |
◆ received()
virtual void dx::coreaudio::pin::received |
( |
os_result | status, |
|
|
size_t | size, |
|
|
int64_t | timestamp ) |
|
inlineprotectedvirtual |
◆ samplerate() [1/2]
uint32_t dx::coreaudio::pin::samplerate |
( |
| ) |
const |
|
inline |
◆ samplerate() [2/2]
◆ signal()
pin & dx::coreaudio::pin::signal |
( |
| ) |
|
|
inline |
◆ start()
virtual void dx::coreaudio::pin::start |
( |
| ) |
|
|
inlinevirtual |
◆ stop()
virtual void dx::coreaudio::pin::stop |
( |
bool | force = false | ) |
|
|
inlinevirtualnoexcept |
◆ transmitted()
virtual void dx::coreaudio::pin::transmitted |
( |
os_result | status, |
|
|
size_t | size, |
|
|
int64_t | timestamp ) |
|
inlineprotectedvirtual |
◆ wait()
pin & dx::coreaudio::pin::wait |
( |
| ) |
|
|
inline |
◆ 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 |
|
inherited |
amount of channels in pin
◆ control
◆ device
device& dx::coreaudio::pin::device |
|
protected |
◆ 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 |
|
inherited |
◆ 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>
◆ 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 |
|
inherited |
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 |
|
inherited |
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 |
|
inherited |
◆ 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] |
|
inherited |
- 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>
◆ started
std::atomic<int32_t> dx::coreaudio::pin::started {} |
|
protected |
The documentation for this class was generated from the following file: