dxd - dynax driver framework 2.6.0d163
cross platform open source driver development framework
|
#include <dx_usb_stream_pipe.h>
Classes | |
struct | cache |
struct | isoc |
Protected Member Functions | |
__dx_catchall (this->started=0;std::cerr<< dx::exception(&exception, exception.error, __PRETTY_FUNCTION__, __FILE__, __LINE__)<< std::endl;,) public | |
creates this->circular streaming backing store and frame buffers | |
__dx_catchall (this->started=0;std::cerr<< dx::exception(&exception, exception.error, __PRETTY_FUNCTION__, __FILE__, __LINE__)<< std::endl;,) void pump_in() noexcept try | |
data driven streaming in | |
__dx_catchall (this->started=0;std::cerr<< dx::exception(&exception, exception.error, __PRETTY_FUNCTION__, __FILE__, __LINE__)<< std::endl;,) void pump_out() noexcept try | |
data driven streaming out | |
catch (...) | |
catch (...) | |
catch (...) | |
catch (...) | |
catch (...) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
catch (const std::exception &__std_exception) | |
catch (const std::exception &__std_exception) | |
catch (const std::exception &__std_exception) | |
catch (const std::exception &__std_exception) | |
catch (const std::exception &__std_exception) | |
dx_catchall_handler (this,) ~pipe() noexcept override | |
float | encoder (dx::stream::encoder::index::type type, unsigned int index) const override |
bool | encoder (dx::stream::encoder::index::type type, unsigned int index, float value) override |
void | exception (const dx::exception &exception, bool filtered=false) noexcept override |
void | halt () noexcept override |
void | info (std::ostream &os) noexcept override try |
void | initialize () override |
void | initialize (uint32_t packet_size, uint32_t micro_frames) |
void | initialize (uint32_t samplerate, uint32_t line_size, uint32_t micro_frames, bool implicit_feedback) |
void | received (os_result status, size_t size) override try |
void | received (os_result status, size_t size, int64_t timestamp, usb::isoc::frame *frame) override try |
async isoc read callback | |
bool | start (uint64_t frame, unsigned int starting=1) override try |
void | transmitted (os_result status, size_t size) override try |
async write callback | |
void | transmitted (os_result status, size_t size, int64_t timestamp, usb::isoc::frame *) override try |
async isoc write callback | |
void | watchdog () noexcept try |
observer watchdog thread: for clock driven endpoints | |
Protected Attributes | ||
struct { | ||
volatile uint32_t completion | ||
os_result status | ||
streaming status for observer thread More... | ||
uint32_t submit | ||
} | async | |
struct dx::usb::stream::pipe::cache | cache | |
struct dx::usb::stream::pipe::isoc | isoc | |
struct { | ||
struct { | ||
unsigned int ticks | ||
struct { | ||
unsigned int count | ||
} transaction | ||
} cycle | ||
} | sync | |
struct dx::usb::audio::isoc::cycle::tick * | tick = nullptr | |
Friends | |
class | pause |
|
inlineprotected |
creates this->circular streaming backing store and frame buffers
|
inlineprotectednoexcept |
data driven streaming in
postponed
|
inlineprotectednoexcept |
data driven streaming out
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineoverrideprotectednoexcept |
|
inlineoverrideprotected |
|
inlineoverrideprotected |
|
inlineoverrideprotectednoexcept |
|
inlineoverrideprotectednoexcept |
|
inlineoverrideprotectednoexcept |
|
inlineoverrideprotected |
generates isoc cycle metrics from sample rate,
requests buffers to fit at least 3x max iosize with isoc cycle size granularity
update max frame size
|
inlineinherited |
|
inlineinherited |
|
inlineoverrideprotected |
|
inlineoverrideprotected |
async isoc read callback
|
inlineoverrideprotected |
estimate upcoming timestamp
scheduling all but one isoc requests at least 1 sequence ahead; aligned to whole cycles,
|
inlineoverrideprotected |
async write callback
generates timestamp
|
inlineoverrideprotected |
async isoc write callback
|
inlineprotectednoexcept |
observer watchdog thread: for clock driven endpoints
|
friend |
struct { ... } dx::usb::stream::pipe< device_t, circular_t, stream_t >::async |
|
protected |
volatile uint32_t dx::usb::stream::pipe< device_t, circular_t, stream_t >::completion |
unsigned int dx::usb::stream::pipe< device_t, circular_t, stream_t >::count |
struct { ... } dx::usb::stream::pipe< device_t, circular_t, stream_t >::cycle |
|
protected |
os_result dx::usb::stream::pipe< device_t, circular_t, stream_t >::status |
streaming status for observer thread
uint32_t dx::usb::stream::pipe< device_t, circular_t, stream_t >::submit |
struct { ... } dx::usb::stream::pipe< device_t, circular_t, stream_t >::sync |
|
inherited |
unsigned int dx::usb::stream::pipe< device_t, circular_t, stream_t >::ticks |
struct { ... } dx::usb::stream::pipe< device_t, circular_t, stream_t >::transaction |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Oct 10 2025 |