diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-01-16 08:24:19 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-01-16 08:24:19 +0300 |
commit | b2890608189a69695a5119e1be771b89278dce9b (patch) | |
tree | be3c9d0a6fbb06c3ed51e139fdc02cfb9bb0b3ed /src/adlmidi.h | |
parent | 28a253742adfb1ac6199b0f068701f071db6299b (diff) | |
download | libADLMIDI-b2890608189a69695a5119e1be771b89278dce9b.tar.gz libADLMIDI-b2890608189a69695a5119e1be771b89278dce9b.tar.bz2 libADLMIDI-b2890608189a69695a5119e1be771b89278dce9b.zip |
Split adlmidi.cpp now keeps API functions only
other code has been moved into separated files
Diffstat (limited to 'src/adlmidi.h')
-rw-r--r-- | src/adlmidi.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/adlmidi.h b/src/adlmidi.h index 9c09028..89e853f 100644 --- a/src/adlmidi.h +++ b/src/adlmidi.h @@ -2,7 +2,7 @@ * libADLMIDI is a free MIDI to WAV conversion library with OPL3 emulation * * Original ADLMIDI code: Copyright (c) 2010-2014 Joel Yliluoma <bisqwit@iki.fi> - * ADLMIDI Library API: Copyright (c) 2016 Vitaly Novichkov <admin@wohlnet.ru> + * ADLMIDI Library API: Copyright (c) 2017 Vitaly Novichkov <admin@wohlnet.ru> * * Library is based on the ADLMIDI, a MIDI player for Linux and Windows with OPL3 emulation: * http://iki.fi/bisqwit/source/adlmidi.html @@ -55,16 +55,16 @@ struct ADL_MIDIPlayer double delay; double carry; - // The lag between visual content and audio content equals - // the sum of these two buffers. + /* The lag between visual content and audio content equals */ + /* the sum of these two buffers. */ double mindelay; double maxdelay; - /*For internal usage*/ - int stored_samples; //num of collected samples - short backup_samples[1024]; //Backup sample storage. - int backup_samples_size; //Backup sample storage. - /*For internal usage*/ + /* For internal usage */ + int stored_samples; /* num of collected samples */ + short backup_samples[1024]; /* Backup sample storage. */ + int backup_samples_size; /* Backup sample storage. */ + /* For internal usage */ void *adl_midiPlayer; unsigned long PCM_RATE; @@ -132,4 +132,4 @@ extern int adl_play(struct ADL_MIDIPlayer *device, int sampleCount, short out[] } #endif -#endif // ADLMIDI_H +#endif /* ADLMIDI_H */ |