aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-28 22:21:23 -0700
committerChris Robinson <[email protected]>2019-04-28 22:21:23 -0700
commitc7e388873c075daa58c26d168080b36300372fd0 (patch)
tree1077713dfdc5f59b57c4484315ece804a44b4ded /utils
parent8ca849655f6c292527d0e260718ba0eca4179fb1 (diff)
Increase the period size slider and don't use steps of 64
Diffstat (limited to 'utils')
-rw-r--r--utils/alsoft-config/mainwindow.cpp3
-rw-r--r--utils/alsoft-config/mainwindow.ui18
2 files changed, 9 insertions, 12 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index ad0223da..a83133b3 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -1144,10 +1144,7 @@ void MainWindow::updatePeriodSizeEdit(int size)
{
ui->periodSizeEdit->clear();
if(size >= 64)
- {
- size = (size+32)&~0x3f;
ui->periodSizeEdit->insert(QString::number(size));
- }
enableApplyButton();
}
diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui
index 95e9ebe6..158a3316 100644
--- a/utils/alsoft-config/mainwindow.ui
+++ b/utils/alsoft-config/mainwindow.ui
@@ -283,9 +283,9 @@ mixed and being heard.</string>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
- <x>20</x>
+ <x>60</x>
<y>0</y>
- <width>201</width>
+ <width>161</width>
<height>21</height>
</rect>
</property>
@@ -299,9 +299,9 @@ mixed and being heard.</string>
<widget class="QSlider" name="periodCountSlider">
<property name="geometry">
<rect>
- <x>80</x>
+ <x>99</x>
<y>20</y>
- <width>160</width>
+ <width>141</width>
<height>21</height>
</rect>
</property>
@@ -336,7 +336,7 @@ mixed and being heard.</string>
<widget class="QLineEdit" name="periodCountEdit">
<property name="geometry">
<rect>
- <x>20</x>
+ <x>40</x>
<y>20</y>
<width>51</width>
<height>21</height>
@@ -365,24 +365,24 @@ frames needed for each mixing update.</string>
<rect>
<x>60</x>
<y>20</y>
- <width>160</width>
+ <width>191</width>
<height>21</height>
</rect>
</property>
<property name="minimum">
- <number>0</number>
+ <number>63</number>
</property>
<property name="maximum">
<number>8192</number>
</property>
<property name="singleStep">
- <number>64</number>
+ <number>1</number>
</property>
<property name="pageStep">
<number>1024</number>
</property>
<property name="value">
- <number>0</number>
+ <number>63</number>
</property>
<property name="tracking">
<bool>true</bool>