/[svn]/libgig/trunk/src/SF.h
ViewVC logotype

Diff of /libgig/trunk/src/SF.h

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

revision 2099 by persson, Sun Jan 10 12:58:51 2010 UTC revision 2100 by persson, Sun May 30 11:39:36 2010 UTC
# Line 450  namespace sf2 { Line 450  namespace sf2 {
450              int      GetRegionCount();              int      GetRegionCount();
451              Region*  GetRegion(int idx);              Region*  GetRegion(int idx);
452    
             std::vector<Region*> GetRegionsOnKey(int key, uint8_t vel);  
   
453          protected:          protected:
454              std::vector<Region*> regions;              std::vector<Region*> regions;
455              sf2::File* pFile;              sf2::File* pFile;
456      };      };
457    
458        class Query {
459            public:
460                int key;
461                uint8_t vel;
462    
463                Query(InstrumentBase& instrument);
464                Region* next();
465    
466            private:
467                InstrumentBase& instrument;
468                int i;
469        };
470    
471      class Instrument : public InstrumentBase {      class Instrument : public InstrumentBase {
472          public:          public:
473              Instrument(sf2::File* pFile, RIFF::Chunk* ck);              Instrument(sf2::File* pFile, RIFF::Chunk* ck);

Legend:
Removed from v.2099  
changed lines
  Added in v.2100

  ViewVC Help
Powered by ViewVC