dxd - dynax driver framework
cross platform open source driver development framework
dx::coreaudio::stream< io_t, bus_t, stream_desc_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, device_t >:
+ Collaboration diagram for dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >:

Public Member Functions

unsigned int clock ()
 
void clock (unsigned int clk)
 
void io (::UInt32 operation, ::UInt32 frames, const ::AudioServerPlugInIOCycleInfo *info, void *main)
 
void io_start ()
 
void io_stop ()
 
void io_timestamp (::Float64 &sampletime, ::UInt64 &host_time, ::UInt64 &seed)
 
 stream (device_t &device, const stream_desc_t &stream_desc)
 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 device_t = device>
class dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >

stream representation of dxd kernel stream

This relates more or less to a CoreAudio device.

Constructor & Destructor Documentation

◆ stream()

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

audio stream constructor

+ Here is the call graph for this function:

◆ ~stream()

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

audio stream destructor

Stops and closes kernel stream.

+ Here is the call graph for this function:

Member Function Documentation

◆ clock() [1/2]

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::clock ( )
inline
+ Here is the caller graph for this function:

◆ clock() [2/2]

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::clock ( unsigned int  clk)
inline
+ Here is the call graph for this function:

◆ io()

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::io ( ::UInt32  operation,
::UInt32  frames,
const ::AudioServerPlugInIOCycleInfo *  info,
void *  main 
)
inline
+ Here is the call graph for this function:

◆ io_start()

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::io_start ( )
inline
+ Here is the call graph for this function:

◆ io_stop()

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::io_stop ( )
inline
+ Here is the call graph for this function:

◆ io_timestamp()

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
void dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::io_timestamp ( ::Float64 &  sampletime,
::UInt64 &  host_time,
::UInt64 &  seed 
)
inline
+ Here is the call graph for this function:

Member Data Documentation

◆ latency

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::latency = 0

◆ lines

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::lines = 0

◆ linesize

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::linesize = 0

◆ samplerate

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
unsigned int dx::coreaudio::stream< io_t, bus_t, stream_desc_t, device_t >::samplerate = 0

◆ seed

template<typename io_t , typename bus_t , typename stream_desc_t , typename device_t = device>
uint64_t dx::coreaudio::stream< io_t, bus_t, stream_desc_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 Fri Jul 30 2021

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.