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

Diff of /linuxsampler/trunk/src/drivers/midi/midi.h

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

revision 2499 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC revision 2500 by schoenebeck, Fri Jan 10 12:20:05 2014 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005, 2006, 2014 Christian Schoenebeck                  *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   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 64  namespace LinuxSampler { Line 64  namespace LinuxSampler {
64          }          }
65      };      };
66    
67        inline bool isValidMidiChan(const midi_chan_t& ch) {
68            return ch >= 0 && ch <= midi_chan_all;
69        }
70    
71  } // namsepace LinuxSampler  } // namsepace LinuxSampler
72    
73  #endif // __LS_MIDI_H__  #endif // __LS_MIDI_H__

Legend:
Removed from v.2499  
changed lines
  Added in v.2500

  ViewVC Help
Powered by ViewVC