Skip to content
Snippets Groups Projects
Commit b6d67a6a authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Hide JACK/ASIO switch under Mac

parent c9446134
No related branches found
No related tags found
No related merge requests found
/***************************************************************************
* Copyright (C) 2011-2015 by Tomasz Bojczuk *
* Copyright (C) 2011-2016 by Tomasz Bojczuk *
* tomaszbojczuk@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
......@@ -67,7 +67,11 @@ AudioInSettings::AudioInSettings(TaudioParams* params, Ttune* tune, QWidget* par
m_JACK_ASIO_ChB->setText("JACK");
#endif
m_JACK_ASIO_ChB->setChecked(m_glParams->JACKorASIO);
#if defined (Q_OS_MAC)
m_JACK_ASIO_ChB->hide();
#endif
durHeadLab = new QLabel(tr("minimum note duration"), m_1_device);
durationSpin = new QSpinBox(m_1_device);
durationSpin->setMinimum(10);
......
/***************************************************************************
* Copyright (C) 2011-2015 by Tomasz Bojczuk *
* Copyright (C) 2011-2016 by Tomasz Bojczuk *
* tomaszbojczuk@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
......@@ -50,11 +50,16 @@ AudioOutSettings::AudioOutSettings(TaudioParams* aParams, QWidget* parent) :
m_audioOutDevListCombo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
m_JACK_ASIO_ChB = new QCheckBox(this);
#if defined (Q_OS_WIN)
m_JACK_ASIO_ChB->setText("ASIO");
m_JACK_ASIO_ChB->setText("ASIO");
#elif defined (Q_OS_LINUX)
m_JACK_ASIO_ChB->setText("JACK");
m_JACK_ASIO_ChB->setText("JACK");
#endif
m_JACK_ASIO_ChB->setChecked(m_params->JACKorASIO);
#if defined (Q_OS_MAC)
m_JACK_ASIO_ChB->hide();
#endif
QHBoxLayout *rtDevLay = new QHBoxLayout;
rtDevLay->addWidget(m_audioOutDevListCombo);
rtDevLay->addWidget(m_JACK_ASIO_ChB);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment