|
| void | add (const device_id_t &device_id) override try |
| |
| template<typename desc_t > |
| dx_catchall_rethrow() using super void | add (const std::string &, const desc_t &) |
| |
| void | add (const std::string &, const typename device_t::desc_t &) |
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END bool | boot () try |
| |
| void | conclude () noexcept override |
| | 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.
|
| |
| virtual void | detach () noexcept |
| |
| | driver (const typename super::match &match, const char *product_id, const typename super::desc &desc, const decltype(parser::dictionary)&dictionary={}) |
| |
| | dx_catchall_rethrow () virtual operator bool() const noexcept |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | exception (const class exception &exception, bool filtered=false) const noexcept override try |
| | notification exception handler
|
| |
| virtual void | exception (const exception &exception, bool filtered=false) const noexcept=0 |
| | notification exception handler
|
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | free () noexcept |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | halt () noexcept override |
| | stop streaming engine
|
| |
| virtual void | help (args &args) try |
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | help_head () |
| |
| virtual void | help_listparameter (const decltype(dictionary)&dictionary) const try |
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | help_subparameter (const decltype(dictionary)&dictionary) const try |
| |
| void | info (std::ostream &os) noexcept override try |
| | log object class information
|
| |
| template<unsigned int max_channels> |
| void | initialize (uint32_t iosize, const uint64_t(&channel_map)[2][(max_channels+63)/64]) try |
| |
| void | launch () override try |
| | launch notification: object mounted and ready to use
|
| |
| virtual void | launch () try |
| | launch notification: object mounted and ready to use
|
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | operator<< (args &args) try |
| |
| virtual void | operator<< (const args &args) |
| |
| virtual void | parse_subparameter (const decltype(dictionary)&dictionary, args &args) const |
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | quiet (const args &={}) noexcept |
| |
| dx_catchall_rethrow() using super void | remove (const std::string &, bool=false) |
| |
| void | run () override try |
| | start streaming engine
|
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END uint32_t | samplerate () const try |
| |
| void | samplerate (uint32_t samplerate) try |
| |
| const auto | select (const std::string &id) const try |
| |
| virtual bool | shutdown () try |
| | client driver::shutdown/boot(): override to shutdown/boot host driver
|
| |
| virtual void | version (const args &={}) noexcept |
| |
|
| dx_catchall_handler(this,) using super void | arrived () override try |
| | notify device arrivals completed stub
|
| |
| void | arrived (device_t &device) override |
| | notify specific device arrival stub
|
| |
| template<typename data_t > |
| void | buffer (size_t size=0x1000, uint32_t rx=1, uint32_t tx=1, const std::chrono::high_resolution_clock::duration &duration=3s) const |
| |
| void | buffer_header () const |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | clear () noexcept try |
| | replaces std::map::clear to call virtual notification methods
|
| |
| void | clock_monitor (device_t &device, std::chrono::high_resolution_clock::duration duration) try |
| |
| void | device_arrival_removal (const args &={}) try |
| |
| | dx_catchall_handler (this,) virtual driver &operator<<(std |
| | restores device settings
|
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | enumerate_os_audio (const args &args={}) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | filter (const args &cargs={}) try |
| |
| bool | head () const noexcept override |
| |
| void | help_scope () override |
| |
| void | list (const args &={}) |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | loglevel (args &args) try |
| |
| void | meta_buffer (size_t size, uint32_t rx, uint32_t tx, const std::chrono::high_resolution_clock::duration &duration) const |
| |
| void | notify () noexcept override |
| |
| virtual void | notify (uint32_t) noexcept |
| | notify sample rate change from device
|
| |
| virtual driver & | operator<< (const char *file) |
| |
| virtual driver & | operator>> (const char *file) const |
| |
| virtual driver & | operator>> (std::ostream &ostream) const |
| | saves device tree
|
| |
| virtual void | overload () noexcept |
| |
| void | parse (args &args) override |
| |
| void | process (int64_t) noexcept override |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | remove (const device_id_t &device_id) override try |
| | finds and removes a device from the device list
|
| |
| void | removed (device_t &device) noexcept override |
| | notify specific device removal stub
|
| |
| void | sleep () override |
| | < notify system will sleep
|
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | streaming_generator (args &args) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | streaming_monitor (const args &args) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | streaming_reset (const args &={}) try |
| |
| void | sync (const std::chrono::high_resolution_clock::time_point &now) override try |
| |
| void | unittest (const args &args) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_align (const args &={}) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_buffer (const args &args={}) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_format (const args &={}) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_mask (args &args) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_preference (const args &={}) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_preference_erase (const decltype(device_t::preference)&preferences, uint32_t &leaves) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_preference_write (const decltype(device_t::preference)&preference, const std::chrono::high_resolution_clock::time_point &timeout, uint32_t &leaves) try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | unittest_stream_duration (args &args) try |
| |
| void | update () noexcept try |
| |
| void | wake () override |
| |
template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
|
|
inlineoverrideprotectedvirtualinherited |
notify device arrivals completed stub
pin creation exception caught here to allow device inspection even if streaming is not possible - most likely due to exclusive access.
- Todo
- forward pin creation exception to be thrown at engine::start()
Reimplemented from dx::map::driver< device_t >.
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::arrived |
( |
device_t & | | ) |
|
|
inlineoverrideprotectedvirtualinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
template<typename data_t >
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::buffer |
( |
size_t | size = 0x1000, |
|
|
uint32_t | rx = 1, |
|
|
uint32_t | tx = 1, |
|
|
const std::chrono::high_resolution_clock::duration & | duration = 3s ) const |
|
inlineprotectedinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| bool dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::head |
( |
| ) |
const |
|
inlineoverrideprotectedvirtualnoexceptinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::help_scope |
( |
| ) |
|
|
inlineoverrideprotectedvirtualinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::info |
( |
std::ostream & | os | ) |
|
|
inlineoverridevirtualnoexceptinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::parse |
( |
args & | args | ) |
|
|
inlineoverrideprotectedvirtualinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
|
|
inlineoverrideprotectedvirtualnoexceptinherited |
template<typename super_device_t , typename audio_pin_t , typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
| void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::removed |
( |
device_t & | | ) |
|
|
inlineoverrideprotectedvirtualnoexceptinherited |