aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_midiplay.cpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-02-28 17:25:23 +0300
committerWohlstand <admin@wohlnet.ru>2017-02-28 17:25:23 +0300
commitda68b78d315f8ff5430819c05fa3d1224e671eab (patch)
tree2bac5f474f3fc7b5c9e4e25983e414779b0c7a9c /src/adlmidi_midiplay.cpp
parent285fd4e367ca7383ab57fc81f9e84731a67825bb (diff)
downloadlibADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.tar.gz
libADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.tar.bz2
libADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.zip
Change long double into double because of no necessary for it
Diffstat (limited to 'src/adlmidi_midiplay.cpp')
-rw-r--r--src/adlmidi_midiplay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp
index f0c3f00..b207790 100644
--- a/src/adlmidi_midiplay.cpp
+++ b/src/adlmidi_midiplay.cpp
@@ -158,7 +158,7 @@ uint64_t MIDIplay::ReadVarLen(size_t tk)
}
-long double MIDIplay::Tick(long double s, long double granularity)
+double MIDIplay::Tick(double s, double granularity)
{
if(CurrentPosition.began)
CurrentPosition.wait -= s;
@@ -1264,7 +1264,7 @@ void MIDIplay::NoteOff(uint16_t MidCh, uint8_t note)
}
-void MIDIplay::UpdateVibrato(long double amount)
+void MIDIplay::UpdateVibrato(double amount)
{
for(size_t a = 0, b = Ch.size(); a < b; ++a)
if(Ch[a].vibrato && !Ch[a].activenotes.empty())
@@ -1292,7 +1292,7 @@ uint64_t MIDIplay::ChooseDevice(const std::string &name)
return n;
}
-void MIDIplay::UpdateArpeggio(long double) // amount = amount of time passed
+void MIDIplay::UpdateArpeggio(double) // amount = amount of time passed
{
// If there is an adlib channel that has multiple notes
// simulated on the same channel, arpeggio them.