/[svn]/linuxsampler/trunk/src/engines/InstrumentManager.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/InstrumentManager.h

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

revision 1525 by schoenebeck, Sun Nov 25 17:47:46 2007 UTC revision 1850 by persson, Sun Mar 1 16:33:22 2009 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 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2009 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This library is free software; you can redistribute it and/or modify  *   *   This library 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 70  namespace LinuxSampler { Line 70  namespace LinuxSampler {
70                  bool operator<(const instrument_id_t& o) const {                  bool operator<(const instrument_id_t& o) const {
71                      return (Index < o.Index || (Index == o.Index && FileName < o.FileName));                      return (Index < o.Index || (Index == o.Index && FileName < o.FileName));
72                  }                  }
73    
74                    bool operator==(const instrument_id_t& o) const {
75                        return (Index == o.Index && FileName == o.FileName);
76                    }
77              };              };
78    
79              /**              /**
# Line 80  namespace LinuxSampler { Line 84  namespace LinuxSampler {
84                  String FormatVersion;                  String FormatVersion;
85                  String Product;                  String Product;
86                  String Artists;                  String Artists;
87                    uint8_t KeyBindings[128];
88                    uint8_t KeySwitchBindings[128];
89              };              };
90    
91              /**              /**
# Line 123  namespace LinuxSampler { Line 129  namespace LinuxSampler {
129              static void LoadInstrumentInBackground(instrument_id_t ID, EngineChannel* pEngineChannel);              static void LoadInstrumentInBackground(instrument_id_t ID, EngineChannel* pEngineChannel);
130    
131              /**              /**
132                 * Stops the background thread that has been started by
133                 * LoadInstrumentInBackground.
134                 */
135                static void StopBackgroundThread();
136    
137                /**
138               * Returns the name of the given instrument as reflected by its               * Returns the name of the given instrument as reflected by its
139               * file.               * file.
140               *               *

Legend:
Removed from v.1525  
changed lines
  Added in v.1850

  ViewVC Help
Powered by ViewVC