1 |
// qsamplerOptionsForm.cpp |
// qsamplerOptionsForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2015, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, 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 |
42 |
m_ui.setupUi(this); |
m_ui.setupUi(this); |
43 |
|
|
44 |
// No settings descriptor initially (the caller will set it). |
// No settings descriptor initially (the caller will set it). |
45 |
m_pOptions = NULL; |
m_pOptions = nullptr; |
46 |
|
|
47 |
// Initialize dirty control state. |
// Initialize dirty control state. |
48 |
m_iDirtySetup = 0; |
m_iDirtySetup = 0; |
255 |
else |
else |
256 |
m_ui.MaxVoicesSpinBox->setToolTip( |
m_ui.MaxVoicesSpinBox->setToolTip( |
257 |
tr("The max. amount of voices the sampler shall process " |
tr("The max. amount of voices the sampler shall process " |
258 |
"simultaniously.") |
"simultaneously.") |
259 |
); |
); |
260 |
|
|
261 |
m_ui.MaxStreamsSpinBox->setEnabled(bMaxStreamsSupported); |
m_ui.MaxStreamsSpinBox->setEnabled(bMaxStreamsSupported); |
268 |
else |
else |
269 |
m_ui.MaxStreamsSpinBox->setToolTip( |
m_ui.MaxStreamsSpinBox->setToolTip( |
270 |
tr("The max. amount of disk streams the sampler shall process " |
tr("The max. amount of disk streams the sampler shall process " |
271 |
"simultaniously.") |
"simultaneously.") |
272 |
); |
); |
273 |
#else |
#else |
274 |
m_ui.MaxVoicesSpinBox->setEnabled(false); |
m_ui.MaxVoicesSpinBox->setEnabled(false); |