aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
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_private.hpp
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_private.hpp')
-rw-r--r--src/adlmidi_private.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 907dcb4..8848f14 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -173,7 +173,7 @@ class MIDIplay
{
bool began;
char padding[7];
- long double wait;
+ double wait;
struct TrackInfo
{
size_t ptr;
@@ -200,7 +200,7 @@ class MIDIplay
uint8_t panning, vibrato, sustain;
char ____padding[6];
double bend, bendsense;
- long double vibpos, vibspeed, vibdepth;
+ double vibpos, vibspeed, vibdepth;
int64_t vibdelay;
uint8_t lastlrpn, lastmrpn;
bool nrpn;
@@ -454,7 +454,7 @@ public:
* Input: granularity = don't expect intervals smaller than this, in seconds
* Output: desired number of seconds until next call
*/
- long double Tick(long double s, long double granularity);
+ double Tick(double s, double granularity);
private:
enum
@@ -491,8 +491,8 @@ private:
//void UpdatePortamento(unsigned MidCh)
void NoteUpdate_All(uint16_t MidCh, unsigned props_mask);
void NoteOff(uint16_t MidCh, uint8_t note);
- void UpdateVibrato(long double amount);
- void UpdateArpeggio(long double /*amount*/);
+ void UpdateVibrato(double amount);
+ void UpdateArpeggio(double /*amount*/);
public:
uint64_t ChooseDevice(const std::string &name);