projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8f99b8
)
MainBar: Re-check sample count/rate when needed
author
Soeren Apel
<soeren@apelpie.net>
Tue, 14 Jul 2015 16:30:22 +0000
(18:30 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 18 Jul 2015 20:44:33 +0000
(22:44 +0200)
pv/toolbars/mainbar.cpp
patch
|
blob
|
history
diff --git
a/pv/toolbars/mainbar.cpp
b/pv/toolbars/mainbar.cpp
index 0bf2270259b8f58138da8fb89bf19c605f0b6192..b404b3da45b32666f335fbee88d773c657b0b855 100644
(file)
--- a/
pv/toolbars/mainbar.cpp
+++ b/
pv/toolbars/mainbar.cpp
@@
-493,6
+493,11
@@
void MainBar::commit_sample_count()
return;
}
}
return;
}
}
+
+ // Devices with built-in memory might impose limits on certain
+ // configurations, so let's check what sample rate the driver
+ // lets us use now.
+ update_sample_rate_selector();
}
void MainBar::commit_sample_rate()
}
void MainBar::commit_sample_rate()
@@
-518,6
+523,11
@@
void MainBar::commit_sample_rate()
qDebug() << "Failed to configure samplerate.";
return;
}
qDebug() << "Failed to configure samplerate.";
return;
}
+
+ // Devices with built-in memory might impose limits on certain
+ // configurations, so let's check what sample count the driver
+ // lets us use now.
+ update_sample_count_selector();
}
void MainBar::on_device_selected()
}
void MainBar::on_device_selected()