/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

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

revision 109 by capela, Sat Jun 5 11:37:06 2004 UTC revision 115 by capela, Mon Jun 7 21:41:43 2004 UTC
# Line 43  Line 43 
43    
44  #include "config.h"  #include "config.h"
45    
 #if !defined(WIN32)  
 #include <unistd.h>  
 #endif  
46    
47  // Timer constant stuff.  // Timer constant stuff.
48  #define QSAMPLER_TIMER_MSECS    200  #define QSAMPLER_TIMER_MSECS    200
# Line 547  bool qsamplerMainForm::saveSessionFile ( Line 544  bool qsamplerMainForm::saveSessionFile (
544          int iChannelID = pChannel->channelID();          int iChannelID = pChannel->channelID();
545          ts << "# " << pChannel->caption() << endl;          ts << "# " << pChannel->caption() << endl;
546          ts << "ADD CHANNEL" << endl;          ts << "ADD CHANNEL" << endl;
547          ts << "LOAD ENGINE " << pChannel->engineName() << " " << iChannelID << endl;          ts << "SET CHANNEL AUDIO_OUTPUT_TYPE " << iChannelID << " " << pChannel->audioDriver() << endl;
548          ts << "SET CHANNEL MIDI_INPUT_TYPE " << iChannelID << " " << pChannel->midiDriver() << endl;          ts << "SET CHANNEL MIDI_INPUT_TYPE " << iChannelID << " " << pChannel->midiDriver() << endl;
549          ts << "SET CHANNEL MIDI_INPUT_PORT " << iChannelID << " " << pChannel->midiPort() << endl;      //  ts << "SET CHANNEL MIDI_INPUT_PORT " << iChannelID << " " << pChannel->midiPort() << endl;
550          ts << "SET CHANNEL MIDI_INPUT_CHANNEL " << iChannelID << " " << pChannel->midiChannel() << endl;          ts << "SET CHANNEL MIDI_INPUT_CHANNEL " << iChannelID << " " << pChannel->midiChannel() << endl;
551          ts << "SET CHANNEL AUDIO_OUTPUT_TYPE " << iChannelID << " " << pChannel->audioDriver() << endl;          ts << "LOAD ENGINE " << pChannel->engineName() << " " << iChannelID << endl;
         ts << "SET CHANNEL VOLUME " << iChannelID << " " << pChannel->volume() << endl;  
552          ts << "LOAD INSTRUMENT " << pChannel->instrumentFile() << " " << pChannel->instrumentNr() << " " << iChannelID << endl;          ts << "LOAD INSTRUMENT " << pChannel->instrumentFile() << " " << pChannel->instrumentNr() << " " << iChannelID << endl;
553            ts << "SET CHANNEL VOLUME " << iChannelID << " " << pChannel->volume() << endl;
554          ts << endl;          ts << endl;
555          // Try to keep it snappy :)          // Try to keep it snappy :)
556          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);

Legend:
Removed from v.109  
changed lines
  Added in v.115

  ViewVC Help
Powered by ViewVC