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

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

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

revision 341 by capela, Tue Jan 18 11:29:01 2005 UTC revision 342 by capela, Tue Jan 18 11:56:33 2005 UTC
# Line 475  QStringList qsamplerChannel::getInstrume Line 475  QStringList qsamplerChannel::getInstrume
475                  delete pRiff;                  delete pRiff;
476                  }                  }
477                  else                  else
478  #else  #endif
479          for (int iInstrumentNr = 0; iInstrumentNr < QSAMPLER_INSTRUMENT_MAX; iInstrumentNr++)          for (int iInstrumentNr = 0; iInstrumentNr < QSAMPLER_INSTRUMENT_MAX; iInstrumentNr++)
480              instlist.append(sInstrumentName + " [" + QString::number(iInstrumentNr) + "]");              instlist.append(sInstrumentName + " [" + QString::number(iInstrumentNr) + "]");
 #endif  
481      }      }
482      else instlist.append(sInstrumentName);      else instlist.append(sInstrumentName);
483    
# Line 511  QString qsamplerChannel::getInstrumentNa Line 510  QString qsamplerChannel::getInstrumentNa
510                  delete pRiff;                  delete pRiff;
511                  }                  }
512                  else                  else
 #else  
         sInstrumentName += " [" + QString::number(iInstrumentNr) + "]";  
513  #endif  #endif
514            sInstrumentName += " [" + QString::number(iInstrumentNr) + "]";
515      }      }
516    
517      return sInstrumentName;      return sInstrumentName;

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

  ViewVC Help
Powered by ViewVC