LMMS
Loading...
Searching...
No Matches
adl.cpp File Reference
#include <cstring>
#include <inttypes.h>
#include <stdarg.h>
#include <assert.h>
#include <stdio.h>
#include "adl.h"
#include "debug.h"

Classes

class  AdlibDriver
struct  AdlibDriver::OpcodeEntry
struct  AdlibDriver::Channel
struct  AdlibDriver::ParserOpcode

Macros

#define kDebugLevelSound   1
#define ARRAYSIZE(x)
#define CALLBACKS_PER_SECOND   72
#define COMMAND(x)

Typedefs

typedef uint8_t byte

Functions

static void warning (const char *str,...)
static void debugC (int i1, int i2, const char *str,...)
static uint16 READ_LE_UINT16 (const void *ptr)
static uint16 READ_BE_UINT16 (const void *ptr)

Macro Definition Documentation

◆ ARRAYSIZE

#define ARRAYSIZE ( x)
Value:
((int)(sizeof(x) / sizeof(x[0])))
unsigned x[BMAX+1]
Definition inflate.c:1586
typedef int(UZ_EXP MsgFn)()

◆ CALLBACKS_PER_SECOND

#define CALLBACKS_PER_SECOND   72

◆ COMMAND

#define COMMAND ( x)
Value:
{ &AdlibDriver::x, #x }

◆ kDebugLevelSound

#define kDebugLevelSound   1

Typedef Documentation

◆ byte

typedef uint8_t byte

Function Documentation

◆ debugC()

void debugC ( int i1,
int i2,
const char * str,
... )
inlinestatic

◆ READ_BE_UINT16()

uint16 READ_BE_UINT16 ( const void * ptr)
inlinestatic

◆ READ_LE_UINT16()

uint16 READ_LE_UINT16 ( const void * ptr)
inlinestatic

◆ warning()

void warning ( const char * str,
... )
inlinestatic