/[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 2324 by persson, Sun Mar 4 09:01:32 2012 UTC revision 2428 by schoenebeck, Sat Mar 2 13:54:22 2013 UTC
# Line 246  void MidiInputDeviceMme::MidiInputPortMm Line 246  void MidiInputDeviceMme::MidiInputPortMm
246      data = (unsigned char *)&dwParam1;      data = (unsigned char *)&dwParam1;
247    
248      switch(uMsg) {      switch(uMsg) {
249          case MIM_DATA:          case MIM_DATA: {
250                //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                //int32_t timeStamp = dwParam2;
252                //DispatchRaw(data, timeStamp);
253              DispatchRaw(data);              DispatchRaw(data);
254              break;              break;
255            }
256    
257          case MIM_LONGDATA:          case MIM_LONGDATA:
258              if(!ExitFlag) {              if(!ExitFlag) {

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

  ViewVC Help
Powered by ViewVC