aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-10-25 03:01:50 +0300
committerWohlstand <admin@wohlnet.ru>2017-10-25 03:01:50 +0300
commit0401ee9f58ea842cb4aef687e8e107380d46445c (patch)
tree900ba7dad4b6bb70bad88c401cff1494884de2bb /include
parent6783770a8533dd099b39c51a5c3f7f5f4000b4bc (diff)
downloadlibADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.tar.gz
libADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.tar.bz2
libADLMIDI-0401ee9f58ea842cb4aef687e8e107380d46445c.zip
Clean-up
- Move all private variables into MIDIplay class away from public ADL_MIDIPlayer structure - Comment out most of legacy code - Implement new-style ReadVarLenEx for error-checked var-len value reading process TODO: Stabilize this and implement missing fields and API calls (meta-data retreiving)
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index e2aaf59..817fe59 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -40,33 +40,7 @@ enum ADLMIDI_VolumeModels
struct ADL_MIDIPlayer
{
- unsigned int AdlBank;
- unsigned int NumFourOps;
- unsigned int NumCards;
- unsigned int HighTremoloMode;
- unsigned int HighVibratoMode;
- unsigned int AdlPercussionMode;
- unsigned int LogarithmicVolumes;
- int VolumeModel;
- unsigned int SkipForward;
- unsigned int loopingIsEnabled;
- unsigned int ScaleModulators;
- double delay;
- double carry;
-
- /* The lag between visual content and audio content equals */
- /* the sum of these two buffers. */
- double mindelay;
- double maxdelay;
-
- /* For internal usage */
- ssize_t stored_samples; /* num of collected samples */
- short backup_samples[1024]; /* Backup sample storage. */
- ssize_t backup_samples_size; /* Backup sample storage. */
- /* For internal usage */
-
void *adl_midiPlayer;
- unsigned long PCM_RATE;
};
/* Sets number of emulated sound cards (from 1 to 100). Emulation of multiple sound cards exchanges polyphony limits*/