1 |
// qsamplerOptions.cpp |
// qsamplerOptions.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2014, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2015, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007,2015 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
72 |
iServerTimeout = m_settings.value("/ServerTimeout", 1000).toInt(); |
iServerTimeout = m_settings.value("/ServerTimeout", 1000).toInt(); |
73 |
#endif |
#endif |
74 |
bServerStart = m_settings.value("/ServerStart", true).toBool(); |
bServerStart = m_settings.value("/ServerStart", true).toBool(); |
75 |
#if defined(__APPLE__) // Toshi Nagata 20080113 |
#if defined(__APPLE__) |
76 |
sServerCmdLine = m_settings.value("/ServerCmdLine", "linuxsampler.starter").toString(); |
sServerCmdLine = m_settings.value("/ServerCmdLine", "/usr/local/bin/linuxsampler").toString(); |
77 |
#else |
#else |
78 |
sServerCmdLine = m_settings.value("/ServerCmdLine", "linuxsampler").toString(); |
sServerCmdLine = m_settings.value("/ServerCmdLine", "linuxsampler").toString(); |
79 |
#endif |
#endif |
104 |
iBaseFontSize = m_settings.value("/BaseFontSize", 0).toInt(); |
iBaseFontSize = m_settings.value("/BaseFontSize", 0).toInt(); |
105 |
// if libgig provides a fast way to retrieve instrument names even for large |
// if libgig provides a fast way to retrieve instrument names even for large |
106 |
// .gig files, then we enable this feature by default |
// .gig files, then we enable this feature by default |
107 |
#if HAVE_LIBGIG_SETAUTOLOAD |
#ifdef CONFIG_LIBGIG_SETAUTOLOAD |
108 |
bInstrumentNames = m_settings.value("/InstrumentNames", true).toBool(); |
bInstrumentNames = m_settings.value("/InstrumentNames", true).toBool(); |
109 |
#else |
#else |
110 |
bInstrumentNames = m_settings.value("/InstrumentNames", false).toBool(); |
bInstrumentNames = m_settings.value("/InstrumentNames", false).toBool(); |