/[svn]/qsampler/trunk/src/qsamplerChannel.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannel.h

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

revision 341 by capela, Tue Jan 18 11:29:01 2005 UTC revision 344 by capela, Tue Jan 18 13:53:04 2005 UTC
# Line 67  public: Line 67  public:
67      bool     loadEngine(const QString& sEngineName);      bool     loadEngine(const QString& sEngineName);
68            
69      // Instrument file and index.      // Instrument file and index.
70        QString& instrumentName();
71      QString& instrumentFile();      QString& instrumentFile();
72      int      instrumentNr();      int      instrumentNr();
73      int      instrumentStatus();      int      instrumentStatus();
74      bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);      bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);
75        
76      // MIDI input driver (DEPRECATED).      // MIDI input driver (DEPRECATED).
77      QString& midiDriver();      QString& midiDriver();
78      bool     setMidiDriver(const QString& sMidiDriver);      bool     setMidiDriver(const QString& sMidiDriver);
# Line 120  public: Line 121  public:
121      void contextMenuEvent(QContextMenuEvent *pEvent);      void contextMenuEvent(QContextMenuEvent *pEvent);
122    
123      // Retrieve the available instrument name(s) of an instrument file (.gig).      // Retrieve the available instrument name(s) of an instrument file (.gig).
124      static QString     getInstrumentName (const QString& sInstrumentFile, int iInstrumentNr);      static QString     getInstrumentName (const QString& sInstrumentFile,
125      static QStringList getInstrumentList (const QString& sInstrumentFile);                                                          int iInstrumentNr, bool bInstrumentNames);
126        static QStringList getInstrumentList (const QString& sInstrumentFile,
127      // Instrument name(s) retrieval mode.                                                          bool bInstrumentNames);
     static bool instrumentNames();  
     static void setInstrumentNames (bool bInstrumentNames);  
128    
129  private:  private:
130    
# Line 137  private: Line 136  private:
136    
137      // Sampler channel info map.      // Sampler channel info map.
138      QString m_sEngineName;      QString m_sEngineName;
139        QString m_sInstrumentName;
140      QString m_sInstrumentFile;      QString m_sInstrumentFile;
141      int     m_iInstrumentNr;      int     m_iInstrumentNr;
142      int     m_iInstrumentStatus;      int     m_iInstrumentStatus;
# Line 147  private: Line 147  private:
147      QString m_sAudioDriver;         // DEPRECATED.      QString m_sAudioDriver;         // DEPRECATED.
148      int     m_iAudioDevice;      int     m_iAudioDevice;
149      float   m_fVolume;      float   m_fVolume;
   
     // Retrieve mode for available instrument name(s)  
         // from an instrument file (.gig).  
         static bool g_bInstrumentNames;  
150  };  };
151    
152  #endif  // __qsamplerChannel_h  #endif  // __qsamplerChannel_h

Legend:
Removed from v.341  
changed lines
  Added in v.344

  ViewVC Help
Powered by ViewVC