dxd - dynax driver framework  2711
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...
os_event gap
 space available event More...
 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 

sets the format specification for the IOAudioStream

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

move into performFormatChange

+ Here is the caller graph for this function:

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

+ 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 Mon Feb 25 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.