dxd - dynax driver framework
cross platform open source driver development framework
dx_coreaudio.h File Reference
#include <dx_stream.h>
#include <dx_driver.h>
#include <dx_syslog.h>
#include <CoreAudio/AudioServerPlugIn.h>
#include <CoreAudio/AudioHardware.h>
#include <libkern/OSAtomic.h>
#include <mach/mach_time.h>
+ Include dependency graph for dx_coreaudio.h:

Classes

class  dx::coreaudio::device< io_t, bus_t, desc_t >
 
class  dx::coreaudio::pin< stream_t, pin_desc_t >
 
class  dx::coreaudio::plugin< io_t, bus_t, desc_t >
 
class  dx::coreaudio::stream< io_t, bus_t, stream_desc_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

◆ catchall

#define catchall (   selector,
  assign 
)
Value:
catch(const dx::exception& exception){\
if(exception.error!= ::kAudioHardwareUnsupportedOperationError)\
std::cerr<< \
__PRETTY_FUNCTION__<< "["<< to(selector)<< "]:"<< \
exception<< std::endl;\
assign= exception.error;\
}\
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: dx_exception.h:86
os_result error
Definition: dx_exception.h:89
std::string to(unsigned int fourchar)
Definition: dx_common.h:194
@ unknown
Definition: macOS/dx_platform.h:159
::DWORD os_result
Definition: windows/dx_platform.h:200
const char * describe(const ::GUID &guid)
Definition: dxd_portcls_audio.h:97
#define __PRETTY_FUNCTION__
mock compiler idiosyncrasies
Definition: windows/dx_platform.h:40

◆ log_dev_prop

#define log_dev_prop   null

◆ log_pin_prop

#define log_pin_prop   null

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
pin_shift 
pin_mask 
trgt_shift 
trgt_mask 
device_mask 
stream_id 

◆ control

enum control
Enumerator
master 
items 

Function Documentation

◆ operator<<() [1/2]

template<typename T >
const class null& operator<< ( const class null &  null,
const T &   
)

◆ operator<<() [2/2]

const class null& operator<< ( const class null &  null,
std::ostream &(&)(std::ostream &)  __pf 
)

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jul 30 2021

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.