From 6dea626623750fdabc83af0657bb06e7c4eb971a Mon Sep 17 00:00:00 2001 From: Fernando Lopez-Lezcano Date: Sep 15 2006 00:37:54 +0000 Subject: readd freebob patch file --- diff --git a/qjackctl-0.2.20-freebob.patch b/qjackctl-0.2.20-freebob.patch new file mode 100644 index 0000000..9a16128 --- /dev/null +++ b/qjackctl-0.2.20-freebob.patch @@ -0,0 +1,80 @@ +--- src/qjackctlSetupForm.ui~ 2005-11-02 13:41:02.000000000 -0800 ++++ src/qjackctlSetupForm.ui 2006-09-09 20:30:49.000000000 -0700 +@@ -278,6 +278,11 @@ + coreaudio + + ++ ++ ++ freebob ++ ++ + + DriverComboBox + +--- src/qjackctlSetupForm.ui.h~ 2005-10-31 06:36:06.000000000 -0800 ++++ src/qjackctlSetupForm.ui.h 2006-09-09 20:40:40.000000000 -0700 +@@ -414,19 +414,20 @@ + bool bOss = (sDriver == "oss"); + bool bAlsa = (sDriver == "alsa"); + bool bCoreaudio = (sDriver == "coreaudio"); ++ bool bFreebob = (sDriver == "freebob"); + bool bInEnabled = false; + bool bOutEnabled = false; + + switch (iAudio) { + case QJACKCTL_DUPLEX: +- bInEnabled = (bOss || bAlsa || bCoreaudio); +- bOutEnabled = (bOss || bAlsa || bCoreaudio); ++ bInEnabled = (bOss || bAlsa || bCoreaudio || bFreebob); ++ bOutEnabled = (bOss || bAlsa || bCoreaudio || bFreebob); + break; + case QJACKCTL_CAPTURE: +- bInEnabled = bOss || bCoreaudio; ++ bInEnabled = bOss || bCoreaudio || bFreebob; + break; + case QJACKCTL_PLAYBACK: +- bOutEnabled = bOss || bCoreaudio; ++ bOutEnabled = bOss || bCoreaudio || bFreebob; + break; + } + +@@ -464,9 +465,12 @@ + bool bAlsa = (sDriver == "alsa"); + bool bPortaudio = (sDriver == "portaudio"); + bool bCoreaudio = (sDriver == "coreaudio"); ++ bool bFreebob = (sDriver == "freebob"); + +- NoMemLockCheckBox->setEnabled(!bCoreaudio); +- UnlockMemCheckBox->setEnabled(!bCoreaudio && !NoMemLockCheckBox->isChecked()); ++ NoMemLockCheckBox->setEnabled(!bCoreaudio && !bFreebob); ++ UnlockMemCheckBox->setEnabled(!bCoreaudio && !bFreebob && !NoMemLockCheckBox->isChecked()); ++ ++ RealtimeCheckBox->setEnabled(bFreebob); + + SoftModeCheckBox->setEnabled(bAlsa); + MonitorCheckBox->setEnabled(bAlsa); +@@ -476,8 +480,8 @@ + + IgnoreHWCheckBox->setEnabled(bOss); + +- PeriodsTextLabel->setEnabled(bAlsa || bOss); +- PeriodsSpinBox->setEnabled(bAlsa || bOss); ++ PeriodsTextLabel->setEnabled(bAlsa || bOss || bFreebob); ++ PeriodsSpinBox->setEnabled(bAlsa || bOss || bFreebob); + + WordLengthTextLabel->setEnabled(bOss); + WordLengthComboBox->setEnabled(bOss); +@@ -496,9 +500,9 @@ + bEnabled = (sInDevice.isEmpty() || sInDevice == m_pSetup->sDefPresetName || + sOutDevice.isEmpty() || sOutDevice == m_pSetup->sDefPresetName); + } +- InterfaceTextLabel->setEnabled(bEnabled || bCoreaudio); +- InterfaceComboBox->setEnabled(bEnabled || bCoreaudio); +- InterfaceToolButton->setEnabled(bEnabled || bCoreaudio); ++ InterfaceTextLabel->setEnabled(bEnabled || bCoreaudio || bFreebob); ++ InterfaceComboBox->setEnabled(bEnabled || bCoreaudio || bFreebob); ++ InterfaceToolButton->setEnabled(bEnabled || bCoreaudio || bFreebob); + + DitherTextLabel->setEnabled(bAlsa || bPortaudio); + DitherComboBox->setEnabled(bAlsa || bPortaudio);