From: Joel Holdsworth Date: Sun, 27 Jan 2013 09:16:40 +0000 (+0000) Subject: samplingbar: Replace sr_info_get(SR_DI_SAMPLERATES) with sr_config_list(SR_CONF_SAMPL... X-Git-Tag: pulseview-0.1.0~139 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c0be28da85485b7e9f0351da563835d0a321641e;p=pulseview.git samplingbar: Replace sr_info_get(SR_DI_SAMPLERATES) with sr_config_list(SR_CONF_SAMPLERATE) --- diff --git a/pv/samplingbar.cpp b/pv/samplingbar.cpp index 8bdadbb1..7bc207ae 100644 --- 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;