diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 23:56:09 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 23:56:09 +0800 |
commit | acf466561f17bf0eb6c19ea0467b27f5392aeb36 (patch) | |
tree | e2a2eb7c87e99a47d2536c10abcee6e3b50cdded /core/qmpmidiread.cpp | |
parent | 70f0007154992c0bc89e11af4fe7dcc2c493aac3 (diff) | |
download | QMidiPlayer-acf466561f17bf0eb6c19ea0467b27f5392aeb36.tar.xz |
Road to standardize: use two parameters for pitchbend.
Documentation.
Minor bug fix.
Diffstat (limited to 'core/qmpmidiread.cpp')
-rw-r--r-- | core/qmpmidiread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qmpmidiread.cpp b/core/qmpmidiread.cpp index 92573d2..478ec82 100644 --- a/core/qmpmidiread.cpp +++ b/core/qmpmidiread.cpp @@ -82,7 +82,7 @@ int CSMFReader::eventReader()//returns 0 if End of Track encountered break; case 0xE0://Pitch wheel p1=fgetc(f);p2=fgetc(f);byteread+=2; - ret->eventList.push_back(SEvent(curid,curt,type,(p1|(p2<<7))&0x3FFF,0)); + ret->eventList.push_back(SEvent(curid,curt,type,p1,p2)); break; case 0xF0: if((type&0x0F)==0x0F)//Meta Event |