~ubuntu-branches/ubuntu/edgy/muse/edgy

« back to all changes in this revision

Viewing changes to synti/organ/organ.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-01-03 20:18:47 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060103201847-r9poqt6y5gu9hnji
Tags: 0.7.1+0.7.2pre5-1
* New upstream version.
* Updated patches:
  + [20_allow_system_timer]
    Rediffed for 0.7.2pre5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//  $Id: organ.cpp,v 1.15 2004/06/28 21:13:17 wschweer Exp $
 
4
//  $Id: organ.cpp,v 1.15.2.1 2005/12/29 23:33:50 spamatica Exp $
5
5
//
6
6
//  Parts of this file taken from:
7
7
//      Organ - Additive Organ Synthesizer Voice
541
541
//   getInitData
542
542
//---------------------------------------------------------
543
543
 
544
 
void Organ::getInitData(int* n, const unsigned char**p)
 
544
void Organ::getInitData(int* n, const unsigned char**p) const
545
545
      {
546
546
      int* d = idata;
547
547
      for (int i = 0; i < NUM_INIT_CONTROLLER; ++i)
565
565
            return 0;
566
566
      *controller = synthCtrl[id].num;
567
567
      *name       = synthCtrl[id].name;
568
 
      *min        = 0;
569
 
      *max        = 128*128-1;
 
568
      
 
569
      gui->getControllerMinMax(id,min,max);
 
570
      
 
571
      //*min        = 0;
 
572
      //*max        = 128*128-1;
570
573
      return ++id;
571
574
      }
572
575