/[svn]/linuxsampler/trunk/src/linuxsampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/linuxsampler.cpp

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

revision 18 by schoenebeck, Sun Dec 7 05:03:43 2003 UTC revision 1534 by persson, Sun Dec 2 19:07:17 2007 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003 by Benno Senoner and Christian Schoenebeck         *   *   Copyright (C) 2003-2004 by Benno Senoner and Christian Schoenebeck   *
6     *   Copyright (C) 2005-2007 Christian Schoenebeck                        *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 20  Line 21 
21   *   MA  02111-1307  USA                                                   *   *   MA  02111-1307  USA                                                   *
22   ***************************************************************************/   ***************************************************************************/
23    
 #include <stdio.h>  
 #include <stdlib.h>  
 #include <unistd.h>  
24  #include <getopt.h>  #include <getopt.h>
25  #include <signal.h>  #include <signal.h>
 #include <pthread.h>  
26    
27  #include "global.h"  #if defined(WIN32)
28  #include "audioio.h"  // require at least Windows 2000 for the GlobalMemoryStatusEx() call
29  #include "diskthread.h"  #define _WIN32_WINNT 0x0500
30  #include "audiothread.h"  #endif
31  #include "midiin.h"  
32  #include "stream.h"  #include "Sampler.h"
33  #include "RIFF.h"  #include "common/global_private.h"
34  #include "gig.h"  #include "engines/EngineFactory.h"
35    #include "plugins/InstrumentEditorFactory.h"
36  #define AUDIO_CHANNELS          2     // stereo  #include "drivers/midi/MidiInputDeviceFactory.h"
37  #define AUDIO_FRAGMENTS         3     // 3 fragments, if it does not work set it to 2  #include "drivers/audio/AudioOutputDeviceFactory.h"
38  #define AUDIO_FRAGMENTSIZE      512   // each fragment has 512 frames  #include "engines/gig/Profiler.h"
39  #define AUDIO_SAMPLERATE        44100 // Hz  #include "network/lscpserver.h"
40    #include "common/stacktrace.h"
41  enum patch_format_t {  #include "common/Features.h"
42      patch_format_unknown,  #include "common/atomic.h"
43      patch_format_gig,  
44      patch_format_dls  using namespace LinuxSampler;
45  } patch_format;  
46    Sampler*    pSampler    = NULL;
47  AudioIO*         pAudioIO;  LSCPServer* pLSCPServer = NULL;
48  DiskThread*      pDiskThread;  #if defined(WIN32)
49  AudioThread*     pAudioThread;  // inet_aton seems missing under WIN32
50  MidiIn*          pMidiInThread;  #ifndef INADDR_NONE
51  RIFF::File*      pRIFF;  #define INADDR_NONE 0xffffffff
52  gig::File*       pGig;  #endif
53  gig::Instrument* pInstrument;  
54  int              num_fragments;  int inet_aton(const char *cp, struct in_addr *addr)
55  int              fragmentsize;  {
56  pthread_t        signalhandlerthread;      addr->s_addr = inet_addr(cp);
57        return (addr->s_addr == INADDR_NONE) ? 0 : 1;
58    }
59    
60    #else
61    pid_t       main_pid;
62    #endif
63    bool bPrintStatistics = false;
64    bool profile = false;
65    bool tune = true;
66    unsigned long int lscp_addr;
67    unsigned short int lscp_port;
68    
69  void parse_options(int argc, char **argv);  void parse_options(int argc, char **argv);
70  void signal_handler(int signal);  void signal_handler(int signal);
71    void kill_app();
72    static atomic_t running = ATOMIC_INIT(1);
73    
74  int main(int argc, char **argv) {  int main(int argc, char **argv) {
75      pAudioIO = NULL;  
76      pRIFF    = NULL;      // initialize the stack trace mechanism with our binary file
77      pGig     = NULL;      StackTraceInit(argv[0], -1);
78    
79        #if defined(WIN32)
80        // some WIN32 memory info code which tries to determine the maximum lockable amount of memory (for debug purposes)
81        SYSTEM_INFO siSysInfo;
82        long physical_memory;
83        GetSystemInfo(&siSysInfo);
84        dmsg(1,("page size=%d\n", siSysInfo.dwPageSize));
85    
86        MEMORYSTATUSEX statex;
87            statex.dwLength = sizeof (statex);
88        GlobalMemoryStatusEx (&statex);
89        dmsg(1, ("There are %*I64d total Kbytes of physical memory.\n",
90              8, statex.ullTotalPhys));
91        dmsg(1, ("There are %*I64d free Kbytes of physical memory.\n",
92              8, statex.ullAvailPhys));
93        physical_memory = statex.ullTotalPhys;
94    
95        HANDLE hProcess = GetCurrentProcess();
96    
97        unsigned long MinimumWorkingSetSize, MaximumWorkingSetSize;
98        unsigned long DefaultMinimumWorkingSetSize, DefaultMaximumWorkingSetSize;
99        unsigned long RequestedMinimumWorkingSetSize, RequestedMaximumWorkingSetSize;
100        int res;
101    
102        res = GetProcessWorkingSetSize(hProcess, &DefaultMinimumWorkingSetSize, &DefaultMaximumWorkingSetSize);
103    
104        RequestedMaximumWorkingSetSize = physical_memory - 2*1024*1024;
105        RequestedMinimumWorkingSetSize = RequestedMaximumWorkingSetSize;
106    
107        for(;;) {
108            dmsg(2,("TRYING VALUES  RequestedMinimumWorkingSetSize=%d, RequestedMaximumWorkingSetSize=%d\n", RequestedMinimumWorkingSetSize, RequestedMaximumWorkingSetSize));
109            res = SetProcessWorkingSetSize(hProcess, RequestedMinimumWorkingSetSize, RequestedMaximumWorkingSetSize);
110            dmsg(2,("AFTER SET: res = %d  RequestedMinimumWorkingSetSize=%d, RequestedMaximumWorkingSetSize=%d\n", res,RequestedMinimumWorkingSetSize, RequestedMaximumWorkingSetSize));
111    
112            res = GetProcessWorkingSetSize(hProcess, &MinimumWorkingSetSize, &MaximumWorkingSetSize);
113            dmsg(2,("AFTER GET: res = %d  MinimumWorkingSetSize=%d, MaximumWorkingSetSize=%d\n", res,MinimumWorkingSetSize, MaximumWorkingSetSize));
114    
115            if( RequestedMinimumWorkingSetSize == MinimumWorkingSetSize ) {
116                dmsg(2,("RequestedMinimumWorkingSetSize == MinimumWorkingSetSize. OK !\n"));
117                break;
118            }
119    
120            RequestedMinimumWorkingSetSize -=  10*1024*1024;
121            if(RequestedMinimumWorkingSetSize < DefaultMinimumWorkingSetSize) break;
122        }
123    
124        dmsg(1,("AFTER GetProcessWorkingSetSize: res = %d  MinimumWorkingSetSize=%d, MaximumWorkingSetSize=%d\n", res,MinimumWorkingSetSize, MaximumWorkingSetSize));
125        #endif
126    
127        #if !defined(WIN32)
128        main_pid = getpid();
129        #endif
130    
131      // setting signal handler for catching SIGINT (thus e.g. <CTRL><C>)      // setting signal handler for catching SIGINT (thus e.g. <CTRL><C>)
     signalhandlerthread = pthread_self();  
132      signal(SIGINT, signal_handler);      signal(SIGINT, signal_handler);
133    
134      patch_format      = patch_format_unknown;      #if defined(WIN32)
135      num_fragments     = AUDIO_FRAGMENTS;      // FIXME: sigaction() not supported on WIN32, we ignore it for now
136      fragmentsize      = AUDIO_FRAGMENTSIZE;      #else
137        // register signal handler for all unusual signals
138        // (we will print the stack trace and exit)
139        struct sigaction sact;
140        sigemptyset(&sact.sa_mask);
141        sact.sa_flags   = 0;
142        sact.sa_handler = signal_handler;
143        sigaction(SIGSEGV, &sact, NULL);
144        sigaction(SIGBUS,  &sact, NULL);
145        sigaction(SIGILL,  &sact, NULL);
146        sigaction(SIGFPE,  &sact, NULL);
147        sigaction(SIGUSR1, &sact, NULL);
148        sigaction(SIGUSR2, &sact, NULL);
149        #endif
150    
151        lscp_addr = htonl(LSCP_ADDR);
152        lscp_port = htons(LSCP_PORT);
153    
154      // parse and assign command line options      // parse and assign command line options
155      parse_options(argc, argv);      parse_options(argc, argv);
156    
157      if (patch_format != patch_format_gig) {      dmsg(1,("LinuxSampler %s\n", VERSION));
158          printf("Sorry only Gigasampler loading migrated in LinuxSampler so far, use --gig to load a .gig file!\n");      dmsg(1,("Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck\n"));
159          return EXIT_FAILURE;      dmsg(1,("Copyright (C) 2005-2007 Christian Schoenebeck\n"));
160    
161        if (tune) {
162            // detect and print system / CPU specific features
163            Features::detect();
164            dmsg(1,("Detected features: %s\n", Features::featuresAsString().c_str()));
165            // prevent slow denormal FPU modes
166            Features::enableDenormalsAreZeroMode();
167      }      }
168    
169      dmsg(1,("Initializing audio output..."));      // create LinuxSampler instance
170      pAudioIO = new AudioIO();      dmsg(1,("Creating Sampler..."));
171      int error = pAudioIO->Initialize(AUDIO_CHANNELS, AUDIO_SAMPLERATE, num_fragments, fragmentsize);      pSampler = new Sampler;
     if (error) return EXIT_FAILURE;  
172      dmsg(1,("OK\n"));      dmsg(1,("OK\n"));
173    
174      // Loading gig file      dmsg(1,("Registered sampler engines: %s\n", EngineFactory::AvailableEngineTypesAsString().c_str()));
175      try {      dmsg(1,("Registered MIDI input drivers: %s\n", MidiInputDeviceFactory::AvailableDriversAsString().c_str()));
176          printf("Loading gig file...");      dmsg(1,("Registered audio output drivers: %s\n", AudioOutputDeviceFactory::AvailableDriversAsString().c_str()));
177          fflush(stdout);      dmsg(1,("Registered instrument editors: %s\n", InstrumentEditorFactory::AvailableEditorsAsString().c_str()));
178          pRIFF       = new RIFF::File(argv[argc - 1]);  
179          pGig        = new gig::File(pRIFF);      // start LSCP network server
180          pInstrument = pGig->GetFirstInstrument();      struct in_addr addr;
181          pGig->GetFirstSample(); // just to complete instrument loading before we enter the realtime part      addr.s_addr = lscp_addr;
182          printf("OK\n");      dmsg(1,("Starting LSCP network server (%s:%d)...", inet_ntoa(addr), ntohs(lscp_port)));
183          fflush(stdout);      pLSCPServer = new LSCPServer(pSampler, lscp_addr, lscp_port);
184      }      pLSCPServer->StartThread();
185      catch (RIFF::Exception e) {      pLSCPServer->WaitUntilInitialized();
186          e.PrintMessage();      dmsg(1,("OK\n"));
         return EXIT_FAILURE;  
     }  
     catch (...) {  
         printf("Unknown exception while trying to parse gig file.\n");  
         return EXIT_FAILURE;  
     }  
187    
188      DiskThread*  pDiskThread   = new DiskThread(((pAudioIO->FragmentSize << MAX_PITCH) << 1) + 6); //FIXME: assuming stereo      if (profile)
189      AudioThread* pAudioThread  = new AudioThread(pAudioIO, pDiskThread, pInstrument);      {
190      MidiIn*      pMidiInThread = new MidiIn(pAudioThread);          dmsg(1,("Calibrating profiler..."));
191            LinuxSampler::gig::Profiler::Calibrate();
192            LinuxSampler::gig::Profiler::Reset();
193            LinuxSampler::gig::Profiler::enable();
194            dmsg(1,("OK\n"));
195        }
196    
197      dmsg(1,("Starting disk thread..."));      printf("LinuxSampler initialization completed. :-)\n\n");
     pDiskThread->StartThread();  
     dmsg(1,("OK\n"));  
     dmsg(1,("Starting MIDI in thread..."));  
     pMidiInThread->StartThread();  
     dmsg(1,("OK\n"));  
198    
199      sleep(1);      std::list<LSCPEvent::event_t> rtEvents;
200      dmsg(1,("Starting audio thread..."));      rtEvents.push_back(LSCPEvent::event_voice_count);
201      pAudioThread->StartThread();      rtEvents.push_back(LSCPEvent::event_stream_count);
202      dmsg(1,("OK\n"));      rtEvents.push_back(LSCPEvent::event_buffer_fill);
203        rtEvents.push_back(LSCPEvent::event_total_voice_count);
204    
205        while (atomic_read(&running)) {
206            if (bPrintStatistics) {
207                const std::set<Engine*>& engines = EngineFactory::EngineInstances();
208                std::set<Engine*>::iterator itEngine = engines.begin();
209                for (int i = 0; itEngine != engines.end(); itEngine++, i++) {
210                    Engine* pEngine = *itEngine;
211                    printf("Engine %d) Voices: %3.3d (Max: %3.3d) Streams: %3.3d (Max: %3.3d)\n", i,
212                        pEngine->VoiceCount(), pEngine->VoiceCountMax(),
213                        pEngine->DiskStreamCount(), pEngine->DiskStreamCountMax()
214                    );
215                    fflush(stdout);
216                }
217            }
218    
219      printf("LinuxSampler initialization completed.\n");          sleep(1);
220            if (profile)
221            {
222                unsigned int samplingFreq = 48000; //FIXME: hardcoded for now
223                unsigned int bv = LinuxSampler::gig::Profiler::GetBogoVoices(samplingFreq);
224                if (bv != 0)
225                {
226                    printf("       BogoVoices: %i         \r", bv);
227                    fflush(stdout);
228                }
229            }
230    
231      while(true)  {          if (LSCPServer::EventSubscribers(rtEvents))
232        printf("Voices: %3.3d (Max: %3.3d) Streams: %3.3d (Max: %3.3d, Unused: %3.3d)\r",          {
233              pAudioThread->ActiveVoiceCount, pAudioThread->ActiveVoiceCountMax,              LSCPServer::LockRTNotify();
234              pDiskThread->ActiveStreamCount, pDiskThread->ActiveStreamCountMax, Stream::GetUnusedStreams());              std::map<uint,SamplerChannel*> channels = pSampler->GetSamplerChannels();
235        fflush(stdout);              std::map<uint,SamplerChannel*>::iterator iter = channels.begin();
236        usleep(500000);              for (; iter != channels.end(); iter++) {
237                    SamplerChannel* pSamplerChannel = iter->second;
238                    EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();
239                    if (!pEngineChannel) continue;
240                    Engine* pEngine = pEngineChannel->GetEngine();
241                    if (!pEngine) continue;
242                    pSampler->fireVoiceCountChanged(iter->first, pEngineChannel->GetVoiceCount());
243                    pSampler->fireStreamCountChanged(iter->first, pEngineChannel->GetDiskStreamCount());
244                    pSampler->fireBufferFillChanged(iter->first, pEngine->DiskStreamBufferFillPercentage());
245                    pSampler->fireTotalVoiceCountChanged(pSampler->GetVoiceCount());
246                }
247                LSCPServer::UnlockRTNotify();
248            }
249      }      }
250        if (pLSCPServer) pLSCPServer->StopThread();
251        // the delete order here is important: the Sampler
252        // destructor sends notifications to the lscpserver
253        if (pSampler) delete pSampler;
254        if (pLSCPServer) delete pLSCPServer;
255    #if HAVE_SQLITE3
256        InstrumentsDb::Destroy();
257    #endif
258        printf("LinuxSampler stopped due to SIGINT.\n");
259      return EXIT_SUCCESS;      return EXIT_SUCCESS;
260  }  }
261    
262  void signal_handler(int signal) {  void signal_handler(int iSignal) {
263      if (pthread_equal(pthread_self(), signalhandlerthread) && signal == SIGINT) {          switch (iSignal) {
264          // stop all threads          case SIGINT:
265          if (pMidiInThread) pMidiInThread->StopThread();              atomic_set(&running, 0);
266          if (pAudioThread)  pAudioThread->StopThread();              return;
267          if (pDiskThread)   pDiskThread->StopThread();          #if defined(WIN32)
268            // FIXME: under WIN32 we ignore the signals below due to the missing sigaction call
269          // free all resources          #else
270          if (pMidiInThread) delete pMidiInThread;          case SIGSEGV:
271          if (pAudioThread)  delete pAudioThread;              std::cerr << ">>> FATAL ERROR: Segmentation fault (SIGSEGV) occured! <<<\n" << std::flush;
272          if (pDiskThread)   delete pDiskThread;              break;
273          if (pGig)          delete pGig;          case SIGBUS:
274          if (pRIFF)         delete pRIFF;              std::cerr << ">>> FATAL ERROR: Access to undefined portion of a memory object (SIGBUS) occured! <<<\n" << std::flush;
275          if (pAudioIO)      delete pAudioIO;              break;
276            case SIGILL:
277          printf("LinuxSampler stopped due to SIGINT\n");              std::cerr << ">>> FATAL ERROR: Illegal instruction (SIGILL) occured! <<<\n" << std::flush;
278          exit(EXIT_SUCCESS);              break;
279            case SIGFPE:
280                std::cerr << ">>> FATAL ERROR: Erroneous arithmetic operation (SIGFPE) occured! <<<\n" << std::flush;
281                break;
282            case SIGUSR1:
283                std::cerr << ">>> User defined signal 1 (SIGUSR1) received <<<\n" << std::flush;
284                break;
285            case SIGUSR2:
286                std::cerr << ">>> User defined signal 2 (SIGUSR2) received <<<\n" << std::flush;
287                break;
288            #endif
289            default: { // this should never happen, as we register for the signals we want
290                std::cerr << ">>> FATAL ERROR: Unknown signal received! <<<\n" << std::flush;
291                break;
292            }
293      }      }
294        signal(iSignal, SIG_DFL); // Reinstall default handler to prevent race conditions
295        std::cerr << "Showing stack trace...\n" << std::flush;
296        StackTrace();
297        sleep(2);
298        std::cerr << "Killing LinuxSampler...\n" << std::flush;
299        kill_app(); // Use abort() if we want to generate a core dump.
300    }
301    
302    void kill_app() {
303        #if defined(WIN32)
304        // FIXME: do we need to do anything at this point under WIN32 ?  is exit(0) ok ?
305        exit(0);
306        #else
307        kill(main_pid, SIGKILL);
308        #endif
309  }  }
310    
311  void parse_options(int argc, char **argv) {  void parse_options(int argc, char **argv) {
# Line 162  void parse_options(int argc, char **argv Line 313  void parse_options(int argc, char **argv
313      int option_index = 0;      int option_index = 0;
314      static struct option long_options[] =      static struct option long_options[] =
315          {          {
             {"numfragments",1,0,0},  
             {"fragmentsize",1,0,0},  
             {"dls",0,0,0},  
             {"gig",0,0,0},  
316              {"help",0,0,0},              {"help",0,0,0},
317                {"version",0,0,0},
318                {"profile",0,0,0},
319                {"no-tune",0,0,0},
320                {"statistics",0,0,0},
321                {"instruments-db-location",1,0,0},
322                {"create-instruments-db",1,0,0},
323                {"lscp-addr",1,0,0},
324                {"lscp-port",1,0,0},
325              {0,0,0,0}              {0,0,0,0}
326          };          };
327    
328      while (true) {      while (true) {
329          res = getopt_long_only(argc, argv, "", long_options, &option_index);          /*
330              Stephane Letz : letz@grame.fr
331              getopt_long_only does not exist on OSX : replaced by getopt_long for now.
332            */
333            res = getopt_long(argc, argv, "", long_options, &option_index);
334          if(res == -1) break;          if(res == -1) break;
335          if (res == 0) {          if (res == 0) {
336              switch(option_index) {              switch(option_index) {
337                  case 0:                  case 0: // --help
338                      num_fragments = atoi(optarg);                      printf("usage: linuxsampler [OPTIONS]\n\n");
339                        printf("--help                      prints this message\n");
340                        printf("--version                   prints version information\n");
341                        printf("--profile                   profile synthesis algorithms\n");
342                        printf("--no-tune                   disable assembly optimization\n");
343                        printf("--statistics                periodically prints statistics\n");
344                        printf("--lscp-addr                 set LSCP address (default: any)\n");
345                        printf("--lscp-port                 set LSCP port (default: 8888)\n");
346                        printf("--create-instruments-db     creates an instruments DB\n");
347                        printf("--instruments-db-location   specifies the instruments DB file\n");
348                        exit(EXIT_SUCCESS);
349                        break;
350                    case 1: // --version
351                        printf("LinuxSampler %s\n", VERSION);
352                        exit(EXIT_SUCCESS);
353                        break;
354                    case 2: // --profile
355                        profile = true;
356                        break;
357                    case 3: // --no-tune
358                        tune = false;
359                        break;
360                    case 4: // --statistics
361                        bPrintStatistics = true;
362                        break;
363                    case 5: // --instruments-db-location
364    #if HAVE_SQLITE3
365                        try {
366                            if (optarg) {
367                                struct stat statBuf;
368                                int res = stat(optarg, &statBuf);
369    
370                                if (res) {
371                                    std::stringstream ss;
372                                    ss << "Failed to stat `" << optarg << "`: " << strerror(errno);
373                                    throw Exception(ss.str());
374                                }
375    
376                                if (!S_ISREG(statBuf.st_mode)) {
377                                    std::stringstream ss;
378                                    ss << "`" << optarg << "` is not a regular file";
379                                    throw Exception(ss.str());
380                                }
381    
382                                InstrumentsDb::GetInstrumentsDb()->SetDbFile(String(optarg));
383                            }
384                        } catch(Exception e) {
385                            std::cerr << "Could not open instruments DB file: "
386                                      << e.Message() << std::endl;
387                            exit(EXIT_FAILURE);
388                        }
389                      break;                      break;
390                  case 1:  #else
391                      fragmentsize = atoi(optarg);                      std::cerr << "LinuxSampler was not build with ";
392                        std::cerr << "instruments database support!\n";
393                        exit(EXIT_FAILURE);
394                      break;                      break;
395                  case 2:  #endif
396                      patch_format = patch_format_dls;                  case 6: // --create-instruments-db
397    #if HAVE_SQLITE3
398                        try {
399                            if (optarg) {
400                                std::cout << "Creating instruments database..." << std::endl;
401                                InstrumentsDb::CreateInstrumentsDb(String(optarg));
402                                InstrumentsDb::Destroy();
403                                std::cout << "Done" << std::endl;
404                            }
405                        } catch(Exception e) {
406                            std::cerr << e.Message() << std::endl;
407                            exit(EXIT_FAILURE);
408                            return;
409                        }
410    
411                        exit(EXIT_SUCCESS);
412                        return;
413    #else
414                        std::cerr << "Failed to create the database. LinuxSampler was ";
415                        std::cerr << "not build with instruments database support!\n";
416                        exit(EXIT_FAILURE);
417                        return;
418    #endif
419                    case 7: // --lscp-addr
420                        struct in_addr addr;
421                        if (inet_aton(optarg, &addr) == 0)
422                            printf("WARNING: Failed to parse lscp-addr argument, ignoring!\n");
423                        else
424                            lscp_addr = addr.s_addr;
425                      break;                      break;
426                  case 3:                  case 8: // --lscp-port
427                      patch_format = patch_format_gig;                      long unsigned int port = 0;
428                      break;                      if ((sscanf(optarg, "%u", &port) != 1) || (port == 0) || (port > 65535))
429                  case 4:                          printf("WARNING: Failed to parse lscp-port argument, ignoring!\n");
430                      printf("usage: linuxsampler [OPTIONS] <INSTRUMENTFILE>\n\n");                      else
431                      printf("--numfragments     sets the number of audio fragments\n");                          lscp_port = htons(port);
                     printf("--fragmentsize     sets the fragment size\n");  
                     printf("--dls              loads a DLS instrument\n");  
                     printf("--gig              loads a Gigasampler instrument\n");  
                     exit(0);  
432                      break;                      break;
433              }              }
434          }          }

Legend:
Removed from v.18  
changed lines
  Added in v.1534

  ViewVC Help
Powered by ViewVC