LMMS
Loading...
Searching...
No Matches
asio.h File Reference

Go to the source code of this file.

Classes

struct  ASIOSamples
struct  ASIOTimeStamp
struct  ASIOSampleRate
struct  ASIOTimeCode
struct  AsioTimeInfo
struct  ASIOTime
struct  ASIOCallbacks
struct  ASIODriverInfo
struct  ASIOClockSource
struct  ASIOChannelInfo
struct  ASIOBufferInfo
struct  ASIOInputMonitor
struct  ASIOChannelControls
struct  ASIOTransportParameters
struct  ASIOIoFormat_s
struct  ASIOInternalBufferInfo

Typedefs

typedef struct ASIOSamples ASIOSamples
typedef struct ASIOTimeStamp ASIOTimeStamp
typedef struct ASIOSampleRate ASIOSampleRate
typedef long ASIOBool
typedef long ASIOSampleType
typedef long ASIOError
typedef struct ASIOTimeCode ASIOTimeCode
typedef enum ASIOTimeCodeFlags ASIOTimeCodeFlags
typedef struct AsioTimeInfo AsioTimeInfo
typedef enum AsioTimeInfoFlags AsioTimeInfoFlags
typedef struct ASIOTime ASIOTime
typedef struct ASIOCallbacks ASIOCallbacks
typedef struct ASIODriverInfo ASIODriverInfo
typedef struct ASIOClockSource ASIOClockSource
typedef struct ASIOChannelInfo ASIOChannelInfo
typedef struct ASIOBufferInfo ASIOBufferInfo
typedef struct ASIOInputMonitor ASIOInputMonitor
typedef struct ASIOChannelControls ASIOChannelControls
typedef struct ASIOTransportParameters ASIOTransportParameters
typedef long int ASIOIoFormatType
typedef struct ASIOIoFormat_s ASIOIoFormat
typedef struct ASIOInternalBufferInfo ASIOInternalBufferInfo

Enumerations

enum  { ASIOFalse = 0 , ASIOTrue = 1 }
enum  {
  ASIOSTInt16MSB = 0 , ASIOSTInt24MSB = 1 , ASIOSTInt32MSB = 2 , ASIOSTFloat32MSB = 3 ,
  ASIOSTFloat64MSB = 4 , ASIOSTInt32MSB16 = 8 , ASIOSTInt32MSB18 = 9 , ASIOSTInt32MSB20 = 10 ,
  ASIOSTInt32MSB24 = 11 , ASIOSTInt16LSB = 16 , ASIOSTInt24LSB = 17 , ASIOSTInt32LSB = 18 ,
  ASIOSTFloat32LSB = 19 , ASIOSTFloat64LSB = 20 , ASIOSTInt32LSB16 = 24 , ASIOSTInt32LSB18 = 25 ,
  ASIOSTInt32LSB20 = 26 , ASIOSTInt32LSB24 = 27 , ASIOSTDSDInt8LSB1 = 32 , ASIOSTDSDInt8MSB1 = 33 ,
  ASIOSTDSDInt8NER8 = 40 , ASIOSTLastEntry
}
enum  {
  ASE_OK = 0 , ASE_SUCCESS = 0x3f4847a0 , ASE_NotPresent = -1000 , ASE_HWMalfunction ,
  ASE_InvalidParameter , ASE_InvalidMode , ASE_SPNotAdvancing , ASE_NoClock ,
  ASE_NoMemory
}
enum  ASIOTimeCodeFlags {
  kTcValid = 1 , kTcRunning = 1 << 1 , kTcReverse = 1 << 2 , kTcOnspeed = 1 << 3 ,
  kTcStill = 1 << 4 , kTcSpeedValid = 1 << 8
}
enum  AsioTimeInfoFlags {
  kSystemTimeValid = 1 , kSamplePositionValid = 1 << 1 , kSampleRateValid = 1 << 2 , kSpeedValid = 1 << 3 ,
  kSampleRateChanged = 1 << 4 , kClockSourceChanged = 1 << 5
}
enum  {
  kAsioSelectorSupported = 1 , kAsioEngineVersion , kAsioResetRequest , kAsioBufferSizeChange ,
  kAsioResyncRequest , kAsioLatenciesChanged , kAsioSupportsTimeInfo , kAsioSupportsTimeCode ,
  kAsioMMCCommand , kAsioSupportsInputMonitor , kAsioSupportsInputGain , kAsioSupportsInputMeter ,
  kAsioSupportsOutputGain , kAsioSupportsOutputMeter , kAsioOverload , kAsioNumMessageSelectors
}
enum  {
  kAsioEnableTimeCodeRead = 1 , kAsioDisableTimeCodeRead , kAsioSetInputMonitor , kAsioTransport ,
  kAsioSetInputGain , kAsioGetInputMeter , kAsioSetOutputGain , kAsioGetOutputMeter ,
  kAsioCanInputMonitor , kAsioCanTimeInfo , kAsioCanTimeCode , kAsioCanTransport ,
  kAsioCanInputGain , kAsioCanInputMeter , kAsioCanOutputGain , kAsioCanOutputMeter ,
  kAsioOptionalOne , kAsioSetIoFormat = 0x23111961 , kAsioGetIoFormat = 0x23111983 , kAsioCanDoIoFormat = 0x23112004 ,
  kAsioCanReportOverload = 0x24042012 , kAsioGetInternalBufferSamples = 0x25042012
}
enum  {
  kTransStart = 1 , kTransStop , kTransLocate , kTransPunchIn ,
  kTransPunchOut , kTransArmOn , kTransArmOff , kTransMonitorOn ,
  kTransMonitorOff , kTransArm , kTransMonitor
}
enum  ASIOIoFormatType_e { kASIOFormatInvalid = -1 , kASIOPCMFormat = 0 , kASIODSDFormat = 1 }

Functions

ASIOError ASIOInit (ASIODriverInfo *info)
ASIOError ASIOExit (void)
ASIOError ASIOStart (void)
ASIOError ASIOStop (void)
ASIOError ASIOGetChannels (long *numInputChannels, long *numOutputChannels)
ASIOError ASIOGetLatencies (long *inputLatency, long *outputLatency)
ASIOError ASIOGetBufferSize (long *minSize, long *maxSize, long *preferredSize, long *granularity)
ASIOError ASIOCanSampleRate (ASIOSampleRate sampleRate)
ASIOError ASIOGetSampleRate (ASIOSampleRate *currentRate)
ASIOError ASIOSetSampleRate (ASIOSampleRate sampleRate)
ASIOError ASIOGetClockSources (ASIOClockSource *clocks, long *numSources)
ASIOError ASIOSetClockSource (long index)
ASIOError ASIOGetSamplePosition (ASIOSamples *sPos, ASIOTimeStamp *tStamp)
ASIOError ASIOGetChannelInfo (ASIOChannelInfo *info)
ASIOError ASIOCreateBuffers (ASIOBufferInfo *bufferInfos, long numChannels, long bufferSize, ASIOCallbacks *callbacks)
ASIOError ASIODisposeBuffers (void)
ASIOError ASIOControlPanel (void)
ASIOError ASIOFuture (long selector, void *params)
ASIOError ASIOOutputReady (void)

Typedef Documentation

◆ ASIOBool

typedef long ASIOBool

◆ ASIOBufferInfo

typedef struct ASIOBufferInfo ASIOBufferInfo

◆ ASIOCallbacks

typedef struct ASIOCallbacks ASIOCallbacks

◆ ASIOChannelControls

typedef struct ASIOChannelControls ASIOChannelControls

◆ ASIOChannelInfo

typedef struct ASIOChannelInfo ASIOChannelInfo

◆ ASIOClockSource

typedef struct ASIOClockSource ASIOClockSource

◆ ASIODriverInfo

typedef struct ASIODriverInfo ASIODriverInfo

◆ ASIOError

typedef long ASIOError

◆ ASIOInputMonitor

typedef struct ASIOInputMonitor ASIOInputMonitor

◆ ASIOInternalBufferInfo

typedef struct ASIOInternalBufferInfo ASIOInternalBufferInfo

◆ ASIOIoFormat

typedef struct ASIOIoFormat_s ASIOIoFormat

◆ ASIOIoFormatType

typedef long int ASIOIoFormatType

◆ ASIOSampleRate

typedef struct ASIOSampleRate ASIOSampleRate

◆ ASIOSamples

typedef struct ASIOSamples ASIOSamples

◆ ASIOSampleType

typedef long ASIOSampleType

◆ ASIOTime

typedef struct ASIOTime ASIOTime

◆ ASIOTimeCode

typedef struct ASIOTimeCode ASIOTimeCode

◆ ASIOTimeCodeFlags

◆ AsioTimeInfo

typedef struct AsioTimeInfo AsioTimeInfo

◆ AsioTimeInfoFlags

◆ ASIOTimeStamp

typedef struct ASIOTimeStamp ASIOTimeStamp

◆ ASIOTransportParameters

typedef struct ASIOTransportParameters ASIOTransportParameters

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ASE_OK 
ASE_SUCCESS 
ASE_NotPresent 
ASE_HWMalfunction 
ASE_InvalidParameter 
ASE_InvalidMode 
ASE_SPNotAdvancing 
ASE_NoClock 
ASE_NoMemory 

◆ anonymous enum

anonymous enum
Enumerator
kAsioSelectorSupported 
kAsioEngineVersion 
kAsioResetRequest 
kAsioBufferSizeChange 
kAsioResyncRequest 
kAsioLatenciesChanged 
kAsioSupportsTimeInfo 
kAsioSupportsTimeCode 
kAsioMMCCommand 
kAsioSupportsInputMonitor 
kAsioSupportsInputGain 
kAsioSupportsInputMeter 
kAsioSupportsOutputGain 
kAsioSupportsOutputMeter 
kAsioOverload 
kAsioNumMessageSelectors 

◆ anonymous enum

anonymous enum
Enumerator
ASIOSTInt16MSB 
ASIOSTInt24MSB 
ASIOSTInt32MSB 
ASIOSTFloat32MSB 
ASIOSTFloat64MSB 
ASIOSTInt32MSB16 
ASIOSTInt32MSB18 
ASIOSTInt32MSB20 
ASIOSTInt32MSB24 
ASIOSTInt16LSB 
ASIOSTInt24LSB 
ASIOSTInt32LSB 
ASIOSTFloat32LSB 
ASIOSTFloat64LSB 
ASIOSTInt32LSB16 
ASIOSTInt32LSB18 
ASIOSTInt32LSB20 
ASIOSTInt32LSB24 
ASIOSTDSDInt8LSB1 
ASIOSTDSDInt8MSB1 
ASIOSTDSDInt8NER8 
ASIOSTLastEntry 

◆ anonymous enum

anonymous enum
Enumerator
kAsioEnableTimeCodeRead 
kAsioDisableTimeCodeRead 
kAsioSetInputMonitor 
kAsioTransport 
kAsioSetInputGain 
kAsioGetInputMeter 
kAsioSetOutputGain 
kAsioGetOutputMeter 
kAsioCanInputMonitor 
kAsioCanTimeInfo 
kAsioCanTimeCode 
kAsioCanTransport 
kAsioCanInputGain 
kAsioCanInputMeter 
kAsioCanOutputGain 
kAsioCanOutputMeter 
kAsioOptionalOne 
kAsioSetIoFormat 
kAsioGetIoFormat 
kAsioCanDoIoFormat 
kAsioCanReportOverload 
kAsioGetInternalBufferSamples 

◆ anonymous enum

anonymous enum
Enumerator
ASIOFalse 
ASIOTrue 

◆ anonymous enum

anonymous enum
Enumerator
kTransStart 
kTransStop 
kTransLocate 
kTransPunchIn 
kTransPunchOut 
kTransArmOn 
kTransArmOff 
kTransMonitorOn 
kTransMonitorOff 
kTransArm 
kTransMonitor 

◆ ASIOIoFormatType_e

Enumerator
kASIOFormatInvalid 
kASIOPCMFormat 
kASIODSDFormat 

◆ ASIOTimeCodeFlags

Enumerator
kTcValid 
kTcRunning 
kTcReverse 
kTcOnspeed 
kTcStill 
kTcSpeedValid 

◆ AsioTimeInfoFlags

Enumerator
kSystemTimeValid 
kSamplePositionValid 
kSampleRateValid 
kSpeedValid 
kSampleRateChanged 
kClockSourceChanged 

Function Documentation

◆ ASIOCanSampleRate()

ASIOError ASIOCanSampleRate ( ASIOSampleRate sampleRate)

◆ ASIOControlPanel()

ASIOError ASIOControlPanel ( void )

◆ ASIOCreateBuffers()

ASIOError ASIOCreateBuffers ( ASIOBufferInfo * bufferInfos,
long numChannels,
long bufferSize,
ASIOCallbacks * callbacks )

◆ ASIODisposeBuffers()

ASIOError ASIODisposeBuffers ( void )

◆ ASIOExit()

ASIOError ASIOExit ( void )

◆ ASIOFuture()

ASIOError ASIOFuture ( long selector,
void * params )

◆ ASIOGetBufferSize()

ASIOError ASIOGetBufferSize ( long * minSize,
long * maxSize,
long * preferredSize,
long * granularity )

◆ ASIOGetChannelInfo()

ASIOError ASIOGetChannelInfo ( ASIOChannelInfo * info)

◆ ASIOGetChannels()

ASIOError ASIOGetChannels ( long * numInputChannels,
long * numOutputChannels )

◆ ASIOGetClockSources()

ASIOError ASIOGetClockSources ( ASIOClockSource * clocks,
long * numSources )

◆ ASIOGetLatencies()

ASIOError ASIOGetLatencies ( long * inputLatency,
long * outputLatency )

◆ ASIOGetSamplePosition()

ASIOError ASIOGetSamplePosition ( ASIOSamples * sPos,
ASIOTimeStamp * tStamp )

◆ ASIOGetSampleRate()

ASIOError ASIOGetSampleRate ( ASIOSampleRate * currentRate)

◆ ASIOInit()

ASIOError ASIOInit ( ASIODriverInfo * info)

◆ ASIOOutputReady()

ASIOError ASIOOutputReady ( void )

◆ ASIOSetClockSource()

ASIOError ASIOSetClockSource ( long index)

◆ ASIOSetSampleRate()

ASIOError ASIOSetSampleRate ( ASIOSampleRate sampleRate)

◆ ASIOStart()

ASIOError ASIOStart ( void )

◆ ASIOStop()

ASIOError ASIOStop ( void )