dxd - dynax driver framework  2675
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t > Class Template Reference

stream representation of dxd kernel stream More...

#include <dx_coreaudio.h>

+ Inheritance diagram for dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >:
+ Collaboration diagram for dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >:

Public Member Functions

void clock (unsigned int clk) throw (exception_t)
 
unsigned int clock () throw (exception_t)
 
void io (::UInt32 operation,::UInt32 frames, const ::AudioServerPlugInIOCycleInfo *info, void *main) throw (exception_t)
 
void io_start () throw (exception_t)
 
void io_stop () throw (exception_t)
 
void io_timestamp (::Float64 &sampletime,::UInt64 &host_time,::UInt64 &seed) throw (exception_t)
 
 stream (device_t &device, const stream_desc_t &stream_desc) throw (exception_t)
 audio stream constructor More...
 
 ~stream () noexcept
 audio stream destructor More...
 

Public Attributes

int latency =0
 
unsigned int lines =0
 
unsigned int linesize =0
 
unsigned int samplerate =0
 
uint64_t seed =0
 

Private Attributes

iobridge< io_t > io
 

Detailed Description

template<typename io_t, typename bus_t, typename stream_desc_t, typename exception_t, typename device_t = device<exception_t>>
class dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >

stream representation of dxd kernel stream

This relates more or less to a CoreAudio device.

Constructor & Destructor Documentation

template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::stream ( device_t &  device,
const stream_desc_t &  stream_desc 
)
throw (exception_t
)
inline

audio stream constructor

+ Here is the call graph for this function:

template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::~stream ( )
inlinenoexcept

audio stream destructor

Stops and closes kernel stream.

Member Function Documentation

template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::clock ( unsigned int  clk)
throw (exception_t
)
inline
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::clock ( )
throw (exception_t
)
inline

+ Here is the caller graph for this function:

template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::io ( ::UInt32  operation,
::UInt32  frames,
const ::AudioServerPlugInIOCycleInfo *  info,
void *  main 
)
throw (exception_t
)
inline
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::io_start ( )
throw (exception_t
)
inline
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::io_stop ( )
throw (exception_t
)
inline
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::io_timestamp ( ::Float64 &  sampletime,
::UInt64 &  host_time,
::UInt64 &  seed 
)
throw (exception_t
)
inline

+ Here is the call graph for this function:

Member Data Documentation

template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::latency =0
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::lines =0
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::linesize =0
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::samplerate =0
template<typename io_t , typename bus_t , typename stream_desc_t , typename exception_t , typename device_t = device<exception_t>>
uint64_t dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >::seed =0

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 4 2018

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.