dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::iostream Class Reference

#include <dxd_audio.h>

+ Inheritance diagram for dxd::iostream:
+ Collaboration diagram for dxd::iostream:

Public Member Functions

bool initWithAudioEngine (::IOAudioEngine *engine,::IOAudioStreamDirection direction, unsigned int channel_id, const char *description=0,::OSDictionary *properties=0)
 

Public Attributes

os_event data
 data available event
 
dxd::devicedevice
 
os_event gap
 space available event
 
dx::circulario
 define the I/O class for shared memory
 
unsigned int line_size
 

Protected Member Functions

void stop (::IOService *provider)
 

Member Function Documentation

◆ initWithAudioEngine()

bool dxd::iostream::initWithAudioEngine ( ::IOAudioEngine * engine,
::IOAudioStreamDirection direction,
unsigned int channel_id,
const char * description = 0,
::OSDictionary * properties = 0 )
inline

sets the format specification for the IOAudioStream

Todo
check if every physical USB bit resolution leads to own CoreAudio IOAudioStreamFormat

add sample rates to format spec

select current format

computes buffer size metrics

open device stream

Todo
move into performFormatChange
+ Here is the caller graph for this function:

◆ stop()

void dxd::iostream::stop ( ::IOService * provider)
inlineprotected
+ Here is the call graph for this function:

Member Data Documentation

◆ data

data available event

◆ device

dxd::device* dxd::iostream::device

◆ gap

space available event

◆ io

define the I/O class for shared memory

◆ line_size

unsigned int dxd::iostream::line_size

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

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Jun 6 2024

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.