dxd - dynax driver framework  2689
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx_coreaudio.h File Reference
#include <dx_stream.h>
#include <dx_driver.h>
#include <dx_mach.h>
#include <dx_syslog.h>
#include <CoreAudio/AudioServerPlugIn.h>
#include <CoreAudio/AudioHardware.h>
#include <libkern/OSAtomic.h>
#include <iomanip>
#include <mach/mach_time.h>
+ Include dependency graph for dx_coreaudio.h:

Classes

class  dx::coreaudio::device< io_t, bus_t, desc_t, exception_t >
 
class  dx::coreaudio::pin< stream_t, pin_desc_t, exception_t >
 
class  dx::coreaudio::plugin< io_t, bus_t, desc_t, exception_t >
 
class  dx::coreaudio::stream< io_t, bus_t, stream_desc_t, exception_t, device_t >
 stream representation of dxd kernel stream More...
 
class  null
 

Namespaces

 dx
 dynax driver framework user mode interface namespace
 
 dx::coreaudio
 coreaudio - dynax coreaudio namespace
 

Macros

#define catchall(selector, assign)
 
#define log_dev_prop   null
 
#define log_pin_prop   null
 

Enumerations

enum  {
  pin_shift =26, pin_mask =0xfc000000, trgt_shift =16, trgt_mask = 0x03ff0000,
  device_mask =0x0000ffff, stream_id =0x3ff
}
 
enum  control { master =1, items }
 

Functions

template<typename T >
const class null & operator<< (const class null &null, const T &)
 
const class null & operator<< (const class null &null, std::ostream &(&__pf)(std::ostream &))
 

Macro Definition Documentation

#define catchall (   selector,
  assign 
)
Value:
catch(const exception_t&exception){\
os_result __catchall_status=os_result(exception);\
if(__catchall_status!=::kAudioHardwareUnsupportedOperationError)\
std::cerr<<__PRETTY_FUNCTION__<<"["<<to(selector)<<"]:"<<describe(__catchall_status)<<"("<<to(__catchall_status)<<","<<std::hex<<__catchall_status<<std::dec<<")"<<std::endl;\
assign=__catchall_status;\
}\
catch(...){\
os_result __catchall_status=os_result(unknown);\
std::cerr<<__PRETTY_FUNCTION__<<":"<<describe(__catchall_status)<<"("<<to(__catchall_status)<<","<<std::hex<<__catchall_status<<std::dec<<")"<<std::endl;\
assign=__catchall_status;\
}
Definition: osx/dx_types.h:157
const char * describe(const ::GUID &guid)
Definition: dxd_portcls_audio.h:97
os_result
Definition: windows/dx_types.h:191
#define catch
Definition: wdk/dxd_base.h:101
#define __PRETTY_FUNCTION__
mock compiler idiosyncrasies
Definition: windows/dx_types.h:35
#define log_dev_prop   null
#define log_pin_prop   null

Enumeration Type Documentation

anonymous enum
Enumerator
pin_shift 
pin_mask 
trgt_shift 
trgt_mask 
device_mask 
stream_id 
enum control
Enumerator
master 
items 

Function Documentation

template<typename T >
const class null& operator<< ( const class null &  null,
const T &   
)
const class null& operator<< ( const class null &  null,
std::ostream &(&)(std::ostream &)  __pf 
)

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jan 18 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.