dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
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
os_event gap
 space available event
 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 )

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:

◆ stop()

void dxd::iostream::stop ( ::IOService * provider)
+ 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.