/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInputDeviceMme.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInputDeviceMme.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2426 by schoenebeck, Fri Mar 1 23:00:17 2013 UTC revision 2428 by schoenebeck, Sat Mar 2 13:54:22 2013 UTC
# Line 247  void MidiInputDeviceMme::MidiInputPortMm Line 247  void MidiInputDeviceMme::MidiInputPortMm
247    
248      switch(uMsg) {      switch(uMsg) {
249          case MIM_DATA: {          case MIM_DATA: {
250              int32_t timeStamp = (dwParam2) ? *dwParam2 : 0;              //FIXME: passing timeStamp this way here does not work, since the DispatchRaw() expects it to be in period position, not miliseconds, requires additional code in RTMath to be able to transform the value for this purpose here
251              DispatchRaw(data, timeStamp);              //int32_t timeStamp = dwParam2;
252                //DispatchRaw(data, timeStamp);
253                DispatchRaw(data);
254              break;              break;
255          }          }
256    

Legend:
Removed from v.2426  
changed lines
  Added in v.2428

  ViewVC Help
Powered by ViewVC