Browse Source

Update ASIO headers to version 2.3.

tags/5.1.0
Stephen Sinclair 7 years ago
parent
commit
a748c36885
3 changed files with 22 additions and 6 deletions
  1. +20
    -4
      include/asio.h
  2. +1
    -1
      include/asiosys.h
  3. +1
    -1
      include/ginclude.h

+ 20
- 4
include/asio.h View File

@@ -3,12 +3,14 @@
/*
Steinberg Audio Stream I/O API
(c) 1997 - 2005, Steinberg Media Technologies GmbH
(c) 1997 - 2013, Steinberg Media Technologies GmbH
ASIO Interface Specification v 2.1
ASIO Interface Specification v 2.3
2005 - Added support for DSD sample data (in cooperation with Sony)
2012 - Added support for drop out detection
basic concept is an i/o synchronous double-buffer scheme:
@@ -916,13 +918,19 @@ enum
kAsioCanInputMeter,
kAsioCanOutputGain,
kAsioCanOutputMeter,
kAsioOptionalOne,
// DSD support
// The following extensions are required to allow switching
// and control of the DSD subsystem.
kAsioSetIoFormat = 0x23111961, /* ASIOIoFormat * in params. */
kAsioGetIoFormat = 0x23111983, /* ASIOIoFormat * in params. */
kAsioCanDoIoFormat = 0x23112004, /* ASIOIoFormat * in params. */
// Extension for drop out detection
kAsioCanReportOverload = 0x24042012, /* return ASE_SUCCESS if driver can detect and report overloads */
kAsioGetInternalBufferSamples = 0x25042012 /* ASIOInternalBufferInfo * in params. Deliver size of driver internal buffering, return ASE_SUCCESS if supported */
};
typedef struct ASIOInputMonitor
@@ -1003,6 +1011,14 @@ typedef struct ASIOIoFormat_s
char future[512-sizeof(ASIOIoFormatType)];
} ASIOIoFormat;
// Extension for drop detection
// Note: Refers to buffering that goes beyond the double buffer e.g. used by USB driver designs
typedef struct ASIOInternalBufferInfo
{
long inputSamples; // size of driver's internal input buffering which is included in getLatencies
long outputSamples; // size of driver's internal output buffering which is included in getLatencies
} ASIOInternalBufferInfo;
ASIOError ASIOOutputReady(void);
/* Purpose:


+ 1
- 1
include/asiosys.h View File

@@ -1,7 +1,7 @@
#ifndef __asiosys__
#define __asiosys__
#ifdef WIN32
#if defined(_WIN32) || defined(_WIN64)
#undef MAC
#define PPC 0
#define WINDOWS 1


+ 1
- 1
include/ginclude.h View File

@@ -8,7 +8,7 @@
//
#define ASIO_BIG_ENDIAN 1
#define ASIO_CPU_MIPS 1
#elif defined WIN32
#elif defined(_WIN32) || defined(_WIN64)
#undef BEOS
#undef MAC
#undef SGI


Loading…
Cancel
Save