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

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

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

revision 1343 by iliev, Wed Aug 15 17:43:34 2007 UTC revision 1344 by schoenebeck, Thu Sep 13 08:46:51 2007 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 94  namespace LinuxSampler { Line 94  namespace LinuxSampler {
94              snd_seq_port_subscribe_free(*it);              snd_seq_port_subscribe_free(*it);
95          }          }
96          pPort->subscriptions.clear();          pPort->subscriptions.clear();
97            
98          std::vector<String>::iterator iter = vS.begin();          std::vector<String>::iterator iter = vS.begin();
99          for (; iter != vS.end(); iter++) pPort->ConnectToAlsaMidiSource((*iter).c_str());          for (; iter != vS.end(); iter++) pPort->ConnectToAlsaMidiSource((*iter).c_str());
100      }      }
# Line 234  namespace LinuxSampler { Line 234  namespace LinuxSampler {
234      }      }
235    
236      String MidiInputDeviceAlsa::Version() {      String MidiInputDeviceAlsa::Version() {
237              String s = "$Revision: 1.20 $";              String s = "$Revision: 1.21 $";
238              return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword              return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword
239      }      }
240    
# Line 296  namespace LinuxSampler { Line 296  namespace LinuxSampler {
296                  } while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0);                  } while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0);
297              }              }
298          }          }
299            // just to avoid a compiler warning
300            return EXIT_FAILURE;
301      }      }
302    
303  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.1343  
changed lines
  Added in v.1344

  ViewVC Help
Powered by ViewVC