projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149e359
)
samplingbar: Replace sr_info_get(SR_DI_SAMPLERATES) with sr_config_list(SR_CONF_SAMPL...
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 27 Jan 2013 09:16:40 +0000
(09:16 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 27 Jan 2013 09:16:40 +0000
(09:16 +0000)
pv/samplingbar.cpp
patch
|
blob
|
history
diff --git
a/pv/samplingbar.cpp
b/pv/samplingbar.cpp
index 8bdadbb149709697e738f26190656d4b3084380f..7bc207aeca80ed20f9e230b12a6899478e074504 100644
(file)
--- a/
pv/samplingbar.cpp
+++ b/
pv/samplingbar.cpp
@@
-177,7
+177,7
@@
void SamplingBar::update_sample_rate_selector()
assert(_sample_rate_value_action);
assert(_sample_rate_list_action);
- if (sr_
info_get(sdi->driver, SR_DI_SAMPLERATES
,
+ if (sr_
config_list(sdi->driver, SR_CONF_SAMPLERATE
,
(const void **)&samplerates, sdi) != SR_OK)
return;