ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

miles_adlib.cpp File Reference

#include "audio/miles.h"
#include "common/file.h"
#include "common/system.h"
#include "common/textconsole.h"
#include "audio/fmopl.h"
Include dependency graph for miles_adlib.cpp:

Go to the source code of this file.

Classes

struct  Audio::InstrumentEntry
class  Audio::MidiDriver_Miles_AdLib
struct  Audio::MidiDriver_Miles_AdLib::MidiChannelEntry
struct  Audio::MidiDriver_Miles_AdLib::VirtualFmVoiceEntry
struct  Audio::MidiDriver_Miles_AdLib::PhysicalFmVoiceEntry

Namespaces

namespace  Audio
 

Internal interfaces to the ADPCM decoders.


Defines

#define MILES_ADLIB_VIRTUAL_FMVOICES_COUNT_MAX   20
#define MILES_ADLIB_PHYSICAL_FMVOICES_COUNT_MAX   18
#define MILES_ADLIB_PERCUSSION_BANK   127
#define MILES_ADLIB_STEREO_PANNING_THRESHOLD_LEFT   27
#define MILES_ADLIB_STEREO_PANNING_THRESHOLD_RIGHT   100

Enumerations

enum  Audio::kMilesAdLibUpdateFlags {
  Audio::kMilesAdLibUpdateFlags_None = 0, Audio::kMilesAdLibUpdateFlags_Reg_20 = 1 << 0, Audio::kMilesAdLibUpdateFlags_Reg_40 = 1 << 1, Audio::kMilesAdLibUpdateFlags_Reg_60 = 1 << 2,
  Audio::kMilesAdLibUpdateFlags_Reg_C0 = 1 << 3, Audio::kMilesAdLibUpdateFlags_Reg_E0 = 1 << 4, Audio::kMilesAdLibUpdateFlags_Reg_A0 = 1 << 5, Audio::kMilesAdLibUpdateFlags_Reg_All = 0x3F
}

Functions

MidiDriverAudio::MidiDriver_Miles_AdLib_create (const Common::String &filenameAdLib, const Common::String &filenameOPL3, Common::SeekableReadStream *streamAdLib=nullptr, Common::SeekableReadStream *streamOPL3=nullptr)

Variables

uint16 Audio::milesAdLibOperator1Register [MILES_ADLIB_PHYSICAL_FMVOICES_COUNT_MAX]
uint16 Audio::milesAdLibOperator2Register [MILES_ADLIB_PHYSICAL_FMVOICES_COUNT_MAX]
uint16 Audio::milesAdLibChannelRegister [MILES_ADLIB_PHYSICAL_FMVOICES_COUNT_MAX]
uint16 Audio::milesAdLibFrequencyLookUpTable []
uint16 Audio::milesAdLibVolumeSensitivityTable []

Define Documentation

#define MILES_ADLIB_PERCUSSION_BANK   127

Definition at line 44 of file miles_adlib.cpp.

#define MILES_ADLIB_PHYSICAL_FMVOICES_COUNT_MAX   18

Definition at line 42 of file miles_adlib.cpp.

#define MILES_ADLIB_STEREO_PANNING_THRESHOLD_LEFT   27

Definition at line 46 of file miles_adlib.cpp.

#define MILES_ADLIB_STEREO_PANNING_THRESHOLD_RIGHT   100

Definition at line 47 of file miles_adlib.cpp.

#define MILES_ADLIB_VIRTUAL_FMVOICES_COUNT_MAX   20

Definition at line 41 of file miles_adlib.cpp.



Generated on Sat Sep 2 2017 05:00:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge