/[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 289 by schoenebeck, Tue Oct 19 14:41:38 2004 UTC revision 392 by schoenebeck, Sat Feb 19 02:40:24 2005 UTC
# Line 144  namespace LinuxSampler { Line 144  namespace LinuxSampler {
144  // *************** MidiInputDeviceAlsa ***************  // *************** MidiInputDeviceAlsa ***************
145  // *  // *
146    
147      MidiInputDeviceAlsa::MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters) : MidiInputDevice(Parameters), Thread(true, 1, -1) {      MidiInputDeviceAlsa::MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters) : MidiInputDevice(Parameters), Thread(true, true, 1, -1) {
148          if (snd_seq_open(&hAlsaSeq, "default", SND_SEQ_OPEN_INPUT, 0) < 0) {          if (snd_seq_open(&hAlsaSeq, "default", SND_SEQ_OPEN_INPUT, 0) < 0) {
149              throw MidiInputException("Error opening ALSA sequencer");              throw MidiInputException("Error opening ALSA sequencer");
150          }          }
# Line 185  namespace LinuxSampler { Line 185  namespace LinuxSampler {
185      }      }
186    
187      String MidiInputDeviceAlsa::Version() {      String MidiInputDeviceAlsa::Version() {
188              String s = "$Revision: 1.12 $";              String s = "$Revision: 1.13 $";
189              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
190      }      }
191    

Legend:
Removed from v.289  
changed lines
  Added in v.392

  ViewVC Help
Powered by ViewVC