/[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 1541 by iliev, Tue Dec 4 18:09:26 2007 UTC revision 1644 by persson, Sat Jan 19 16:55:03 2008 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003-2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003-2004 by Benno Senoner and Christian Schoenebeck    *
6   *   Copyright (C) 2005-2007 Christian Schoenebeck                        *   *   Copyright (C) 2005-2008 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 253  int main(int argc, char **argv) { Line 253  int main(int argc, char **argv) {
253      // destructor sends notifications to the lscpserver      // destructor sends notifications to the lscpserver
254      if (pSampler) delete pSampler;      if (pSampler) delete pSampler;
255      if (pLSCPServer) delete pLSCPServer;      if (pLSCPServer) delete pLSCPServer;
 #if HAVE_SQLITE3  
     InstrumentsDb::Destroy();  
 #endif  
256      printf("LinuxSampler stopped due to SIGINT.\n");      printf("LinuxSampler stopped due to SIGINT.\n");
257      return EXIT_SUCCESS;      return EXIT_SUCCESS;
258  }  }
# Line 400  void parse_options(int argc, char **argv Line 397  void parse_options(int argc, char **argv
397                          if (optarg) {                          if (optarg) {
398                              std::cout << "Creating instruments database..." << std::endl;                              std::cout << "Creating instruments database..." << std::endl;
399                              InstrumentsDb::CreateInstrumentsDb(String(optarg));                              InstrumentsDb::CreateInstrumentsDb(String(optarg));
                             InstrumentsDb::Destroy();  
400                              std::cout << "Done" << std::endl;                              std::cout << "Done" << std::endl;
401                          }                          }
402                      } catch(Exception e) {                      } catch(Exception e) {

Legend:
Removed from v.1541  
changed lines
  Added in v.1644

  ViewVC Help
Powered by ViewVC