/[svn]/linuxsampler/trunk/src/midiin.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/midiin.cpp

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

revision 31 by schoenebeck, Thu Dec 25 18:03:43 2003 UTC revision 32 by schoenebeck, Tue Feb 3 13:21:19 2004 UTC
# Line 109  int MidiIn::Main() { Line 109  int MidiIn::Main() {
109                  snd_seq_event_input(seq_handle, &ev);                  snd_seq_event_input(seq_handle, &ev);
110                  switch (ev->type) {                  switch (ev->type) {
111                      case SND_SEQ_EVENT_CONTROLLER:                      case SND_SEQ_EVENT_CONTROLLER:
112                          pAudioThread->SendControlChange(ev->data.control.channel, ev->data.control.param, ev->data.control.value);                          pAudioThread->SendControlChange(ev->data.control.param, ev->data.control.value);
113                          break;                          break;
114    
115                      case SND_SEQ_EVENT_PITCHBEND:                      case SND_SEQ_EVENT_PITCHBEND:
116                        //  fprintf(stderr, "Pitchbender event on Channel %2d: %5d   \n",                        //  fprintf(stderr, "Pitchbender event on Channel %2d: %5d   \n",
117                        //          ev->data.control.channel, ev->data.control.value);                        //          ev->data.control.channel, ev->data.control.value);
118                            pAudioThread->SendPitchbend(ev->data.control.value);
119                          break;                          break;
120    
121                      case SND_SEQ_EVENT_NOTEON:                      case SND_SEQ_EVENT_NOTEON:

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC