Xeno-rat
Loading...
Searching...
No Matches
NAudio.Wave.Asio Namespace Reference

Classes

struct  Asio64Bit
 ASIO 64 bit value Unfortunately the ASIO API was implemented it before compiler supported consistently 64 bit integer types. By using the structure the data layout on a little-endian system like the Intel x86 architecture will result in a "non native" storage of the 64 bit data. The most significant 32 bit are stored first in memory, the least significant bits are stored in the higher memory space. However each 32 bit is stored in the native little-endian fashion. More...
 
struct  AsioBufferInfo
 
struct  AsioCallbacks
 ASIO Callbacks. More...
 
struct  AsioChannelInfo
 ASIO Channel Info. More...
 
class  AsioDriver
 Main AsioDriver Class. To use this class, you need to query first the GetAsioDriverNames() and then use the GetAsioDriverByName to instantiate the correct AsioDriver. This is the first AsioDriver binding fully implemented in C#! More...
 
class  AsioDriverCapability
 AsioDriverCapability holds all the information from the AsioDriver. Use AsioDriverExt to get the Capabilities. More...
 
class  AsioDriverExt
 AsioDriverExt is a simplified version of the AsioDriver. It provides an easier way to access the capabilities of the Driver and implement the callbacks necessary for feeding the driver. Implementation inspired from Rob Philpot's with a managed C++ ASIO wrapper BlueWave.Interop.Asio http://www.codeproject.com/KB/mcpp/Asio.Net.aspx. More...
 
class  AsioException
 ASIO common Exception.
 
class  AsioSampleConvertor
 This class stores convertors for different interleaved WaveFormat to ASIOSampleType separate channel format.
 
struct  AsioTime
 
struct  AsioTimeCode
 
struct  AsioTimeInfo
 

Enumerations

enum  AsioError {
  ASE_OK = 0 , ASE_SUCCESS = 0x3f4847a0 , ASE_NotPresent = -1000 , ASE_HWMalfunction ,
  ASE_InvalidParameter , ASE_InvalidMode , ASE_SPNotAdvancing , ASE_NoClock ,
  ASE_NoMemory
}
 ASIO Error Codes. More...
 
enum  AsioMessageSelector {
  kAsioSelectorSupported = 1 , kAsioEngineVersion , kAsioResetRequest , kAsioBufferSizeChange ,
  kAsioResyncRequest , kAsioLatenciesChanged , kAsioSupportsTimeInfo , kAsioSupportsTimeCode ,
  kAsioMMCCommand , kAsioSupportsInputMonitor , kAsioSupportsInputGain , kAsioSupportsInputMeter ,
  kAsioSupportsOutputGain , kAsioSupportsOutputMeter , kAsioOverload
}
 ASIO Message Selector. More...
 
enum  AsioSampleType {
  Int16MSB = 0 , Int24MSB = 1 , Int32MSB = 2 , Float32MSB = 3 ,
  Float64MSB = 4 , Int32MSB16 = 8 , Int32MSB18 = 9 , Int32MSB20 = 10 ,
  Int32MSB24 = 11 , Int16LSB = 16 , Int24LSB = 17 , Int32LSB = 18 ,
  Float32LSB = 19 , Float64LSB = 20 , Int32LSB16 = 24 , Int32LSB18 = 25 ,
  Int32LSB20 = 26 , Int32LSB24 = 27 , DSDInt8LSB1 = 32 , DSDInt8MSB1 = 33 ,
  DSDInt8NER8 = 40
}
 ASIO Sample Type. More...
 

Functions

delegate void AsioFillBufferCallback (IntPtr[] inputChannels, IntPtr[] outputChannels)
 Callback used by the AsioDriverExt to get wave data.
 

Enumeration Type Documentation

◆ AsioError

ASIO Error Codes.

Enumerator
ASE_OK 

This value will be returned whenever the call succeeded.

ASE_SUCCESS 

unique success return value for ASIOFuture calls

ASE_NotPresent 

hardware input or output is not present or available

ASE_HWMalfunction 

hardware is malfunctioning (can be returned by any ASIO function)

ASE_InvalidParameter 

input parameter invalid

ASE_InvalidMode 

hardware is in a bad mode or used in a bad mode

ASE_SPNotAdvancing 

hardware is not running when sample position is inquired

ASE_NoClock 

sample clock or rate cannot be determined or is not present

ASE_NoMemory 

not enough memory for completing the request

◆ AsioMessageSelector

ASIO Message Selector.

Enumerator
kAsioSelectorSupported 

selector in <value>, returns 1L if supported,

kAsioEngineVersion 

returns engine (host) asio implementation version,

kAsioResetRequest 

request driver reset. if accepted, this

kAsioBufferSizeChange 

not yet supported, will currently always return 0L.

kAsioResyncRequest 

the driver went out of sync, such that

kAsioLatenciesChanged 

the drivers latencies have changed. The engine

kAsioSupportsTimeInfo 

if host returns true here, it will expect the

kAsioSupportsTimeCode 

supports timecode

kAsioMMCCommand 

unused - value: number of commands, message points to mmc commands

kAsioSupportsInputMonitor 

kAsioSupportsXXX return 1 if host supports this

kAsioSupportsInputGain 

unused and undefined

kAsioSupportsInputMeter 

unused and undefined

kAsioSupportsOutputGain 

unused and undefined

kAsioSupportsOutputMeter 

unused and undefined

kAsioOverload 

driver detected an overload

◆ AsioSampleType

ASIO Sample Type.

Enumerator
Int16MSB 

Int 16 MSB.

Int24MSB 

Int 24 MSB (used for 20 bits as well)

Int32MSB 

Int 32 MSB.

Float32MSB 

IEEE 754 32 bit float.

Float64MSB 

IEEE 754 64 bit double float.

Int32MSB16 

32 bit data with 16 bit alignment

Int32MSB18 

32 bit data with 18 bit alignment

Int32MSB20 

32 bit data with 20 bit alignment

Int32MSB24 

32 bit data with 24 bit alignment

Int16LSB 

Int 16 LSB.

Int24LSB 

Int 24 LSB used for 20 bits as well.

Int32LSB 

Int 32 LSB.

Float32LSB 

IEEE 754 32 bit float, as found on Intel x86 architecture.

Float64LSB 

IEEE 754 64 bit double float, as found on Intel x86 architecture.

Int32LSB16 

32 bit data with 16 bit alignment

Int32LSB18 

32 bit data with 18 bit alignment

Int32LSB20 

32 bit data with 20 bit alignment

Int32LSB24 

32 bit data with 24 bit alignment

DSDInt8LSB1 

DSD 1 bit data, 8 samples per byte. First sample in Least significant bit.

DSDInt8MSB1 

DSD 1 bit data, 8 samples per byte. First sample in Most significant bit.

DSDInt8NER8 

DSD 8 bit data, 1 sample per byte. No Endianness required.

Function Documentation

◆ AsioFillBufferCallback()

delegate void NAudio.Wave.Asio.AsioFillBufferCallback ( IntPtr[] inputChannels,
IntPtr[] outputChannels )

Callback used by the AsioDriverExt to get wave data.