CoreAudio client device.
More...
#include <dx_coreaudio.h>
◆ desc
◆ bus
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>
◆ device()
◆ ~device()
virtual dx::coreaudio::device::~device |
( |
| ) |
|
|
inlinevirtualnoexcept |
the device class destructor
◆ conclude()
void dx::coreaudio::device::conclude |
( |
| ) |
|
|
inlineoverridevirtualnoexcept |
conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there.
Reimplemented from dx::object.
◆ enumerate()
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>
◆ exception()
void dx::coreaudio::device::exception |
( |
const dx::exception & | exception, |
|
|
bool | filtered = false ) const |
|
inlineoverrideprotectedvirtualnoexcept |
notification exception handler
Implements dx::object.
◆ find() [1/2]
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>
const struct stream * dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::find |
( |
const target_t & | target | ) |
const |
|
inlineinherited |
◆ find() [2/2]
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>
finds and returns the stream description and pin idx into this stream
- Returns
- stream description of indexed pin, pin idx will be altered on return!
- Parameters
-
pin | in: global pin index, out: pin index into returned stream description |
format | search stream format filter |
direction | search stream direction filter |
◆ info()
void dx::coreaudio::device::info |
( |
| ) |
|
|
inlineoverridevirtual |
log object class information
Implements dx::object.
◆ iosize()
virtual uint32_t dx::coreaudio::device::iosize |
( |
| ) |
const |
|
inlinevirtual |
◆ launch()
virtual void dx::object::launch |
( |
| ) |
|
|
inlinevirtualinherited |
◆ safety_offset()
virtual uint32_t dx::coreaudio::device::safety_offset |
( |
bool | | ) |
const |
|
inlinevirtual |
◆ samplerate() [1/2]
uint32_t dx::coreaudio::device::samplerate |
( |
| ) |
const |
|
inline |
◆ samplerate() [2/2]
◆ start()
virtual void dx::coreaudio::device::start |
( |
| ) |
|
|
inlinevirtual |
◆ stop()
virtual void dx::coreaudio::device::stop |
( |
bool | = false | ) |
|
|
inlinevirtual |
◆ version()
virtual uint32_t dx::coreaudio::device::version |
( |
| ) |
const |
|
inlinevirtual |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const device & | device ) |
|
friend |
◆ bus
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>
◆ clock
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>
struct dx::stream::desc::clock dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::clock[max_clocks] |
|
inherited |
◆ clocks
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 >::clocks |
|
inherited |
number of independent clocks [currenlty only single clock support]
◆ driver
◆ id
const ::AudioObjectID dx::coreaudio::device::id |
|
protected |
◆ launched
bool dx::object::launched {} |
|
inherited |
◆ model
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 >::model[0x60] |
|
inherited |
◆ persistence
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 >::persistence |
|
inherited |
device has capability to store persistent settings (i.e. sample rate; clock source; etc.)
◆ stream
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>
struct dx::stream::desc::stream dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream[max_streams] |
|
inherited |
◆ streams
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 >::streams |
|
inherited |
◆ vendor
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 >::vendor[0x60] |
|
inherited |
The documentation for this class was generated from the following file: