dxd - dynax driver framework  2979
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 More...
 
dxd::devicedevice
 
os_event gap
 space available event More...
 
dx::circulario
 define the I/O class for shared memory More...
 
unsigned int line_size
 

Protected Member Functions

void stop (::IOService *provider)
 

Member Function Documentation

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:

void dxd::iostream::stop ( ::IOService *  provider)
inlineprotected

+ Here is the call graph for this function:

Member Data Documentation

data available event

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

space available event

define the I/O class for shared memory

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 Fri Nov 8 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.