XT-Audio
Classes | Typedefs | Enumerations | Functions
Xt Namespace Reference

Classes

struct  AggregateDeviceParams
 
struct  AggregateStreamParams
 
struct  Attributes
 
class  Audio
 
struct  Buffer
 
struct  BufferSize
 
struct  Channels
 
class  Device
 
class  DeviceList
 
struct  DeviceStreamParams
 
struct  ErrorInfo
 
class  Exception
 
struct  Format
 
struct  Latency
 
struct  Mix
 
class  Platform
 
class  Service
 
struct  ServiceError
 
class  Stream
 
struct  StreamParams
 
struct  Version
 

Typedefs

typedef void(* OnError) (std::string const &message)
 
typedef void(* OnXRun) (class Stream const &stream, int32_t index, void *user)
 
typedef uint32_t(* OnBuffer) (class Stream const &stream, struct Buffer const &buffer, void *user)
 
typedef void(* OnRunning) (class Stream const &stream, bool running, uint64_t error, void *user)
 

Enumerations

enum  Setup { Setup::ProAudio, Setup::SystemAudio, Setup::ConsumerAudio }
 
enum  Sample {
  Sample::UInt8, Sample::Int16, Sample::Int24, Sample::Int32,
  Sample::Float32
}
 
enum  Cause {
  Cause::Format, Cause::Service, Cause::Generic, Cause::Unknown,
  Cause::Endpoint
}
 
enum  System {
  System::ALSA = 1, System::ASIO, System::JACK, System::WASAPI,
  System::Pulse, System::DSound
}
 
enum  EnumFlags { EnumFlagsInput = 0x1, EnumFlagsOutput = 0x2, EnumFlagsAll = EnumFlagsInput | EnumFlagsOutput }
 
enum  ServiceCaps {
  ServiceCapsNone = 0x0, ServiceCapsTime = 0x1, ServiceCapsLatency = 0x2, ServiceCapsFullDuplex = 0x4,
  ServiceCapsAggregation = 0x8, ServiceCapsChannelMask = 0x10, ServiceCapsControlPanel = 0x20, ServiceCapsXRunDetection = 0x40
}
 
enum  DeviceCaps {
  DeviceCapsNone = 0x0, DeviceCapsInput = 0x1, DeviceCapsOutput = 0x2, DeviceCapsLoopback = 0x4,
  DeviceCapsHwDirect = 0x8
}
 

Functions

std::ostream & operator<< (std::ostream &os, Cause cause)
 
std::ostream & operator<< (std::ostream &os, Setup setup)
 
std::ostream & operator<< (std::ostream &os, System system)
 
std::ostream & operator<< (std::ostream &os, Sample sample)
 
std::ostream & operator<< (std::ostream &os, EnumFlags flags)
 
std::ostream & operator<< (std::ostream &os, DeviceCaps capabilities)
 
std::ostream & operator<< (std::ostream &os, ServiceCaps capabilities)
 
std::ostream & operator<< (std::ostream &os, ErrorInfo const &info)
 

Typedef Documentation

typedef uint32_t(* Xt::OnBuffer) (class Stream const &stream, struct Buffer const &buffer, void *user)
typedef void(* Xt::OnError) (std::string const &message)
typedef void(* Xt::OnRunning) (class Stream const &stream, bool running, uint64_t error, void *user)
typedef void(* Xt::OnXRun) (class Stream const &stream, int32_t index, void *user)

Enumeration Type Documentation

enum Xt::Cause
strong
Enumerator
Format 
Service 
Generic 
Unknown 
Endpoint 
Enumerator
DeviceCapsNone 
DeviceCapsInput 
DeviceCapsOutput 
DeviceCapsLoopback 
DeviceCapsHwDirect 
Enumerator
EnumFlagsInput 
EnumFlagsOutput 
EnumFlagsAll 
enum Xt::Sample
strong
Enumerator
UInt8 
Int16 
Int24 
Int32 
Float32 
Enumerator
ServiceCapsNone 
ServiceCapsTime 
ServiceCapsLatency 
ServiceCapsFullDuplex 
ServiceCapsAggregation 
ServiceCapsChannelMask 
ServiceCapsControlPanel 
ServiceCapsXRunDetection 
enum Xt::Setup
strong
Enumerator
ProAudio 
SystemAudio 
ConsumerAudio 
enum Xt::System
strong
Enumerator
ALSA 
ASIO 
JACK 
WASAPI 
Pulse 
DSound 

Function Documentation

std::ostream& Xt::operator<< ( std::ostream &  os,
Cause  cause 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
Setup  setup 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
System  system 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
Sample  sample 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
EnumFlags  flags 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
DeviceCaps  capabilities 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
ServiceCaps  capabilities 
)
inline
std::ostream& Xt::operator<< ( std::ostream &  os,
ErrorInfo const &  info 
)
inline