rpms/qjackctl/devel qjackctl-0.2.20-freebob.patch,NONE,1.1
Fernando Lopez-Lezcano (nando)
fedora-extras-commits at redhat.com
Fri Sep 15 00:37:54 UTC 2006
Author: nando
Update of /cvs/extras/rpms/qjackctl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4719
Added Files:
qjackctl-0.2.20-freebob.patch
Log Message:
readd freebob patch file
qjackctl-0.2.20-freebob.patch:
--- NEW FILE qjackctl-0.2.20-freebob.patch ---
--- 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 @@
<string>coreaudio</string>
</property>
</item>
+ <item>
+ <property name="text">
+ <string>freebob</string>
+ </property>
+ </item>
<property name="name">
<cstring>DriverComboBox</cstring>
</property>
--- 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);
More information about the fedora-extras-commits
mailing list