dxd - dynax driver framework  2747
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::stream::open< bus_t > Struct Template Reference

generic stream open request More...

#include <dx_stream.h>

+ Inheritance diagram for dx::stream::open< bus_t >:
+ Collaboration diagram for dx::stream::open< bus_t >:

Public Member Functions

 open (const bus_t &bus, os_event broadcast, unsigned int buffers=1)
 open stream More...
 
 open (const bus_t &bus, unsigned int buffers=1)
 

Public Attributes

os_event broadcast
 user event: used by pin directly More...
 
unsigned int buffers
 

Detailed Description

template<typename bus_t>
struct dx::stream::open< bus_t >

generic stream open request

Constructor & Destructor Documentation

template<typename bus_t>
dx::stream::open< bus_t >::open ( const bus_t &  bus,
os_event  broadcast,
unsigned int  buffers = 1 
)
inline

open stream

type dir purpose sync param isoc rx/tx audio(IO) device line_size/sample_rate bulk rx audio(IO/VST)/MIDI device slave bulk tx audio(IO) device slave bulk tx audio(vst)/MIDI host/thread master

Parameters
bushardware interface
buffersbuffer multiplier: buffer size=buffers*atomic transaction size(i.e. USB pipe size)
template<typename bus_t>
dx::stream::open< bus_t >::open ( const bus_t &  bus,
unsigned int  buffers = 1 
)
inline
Parameters
bushardware interface
buffersbuffer multiplier: buffer size=buffers*atomic transaction size(i.e. USB pipe size)

Member Data Documentation

template<typename bus_t>
os_event dx::stream::open< bus_t >::broadcast

user event: used by pin directly

template<typename bus_t>
unsigned int dx::stream::open< bus_t >::buffers

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Jun 23 2019

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.