Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-11-20 13:25:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-11-20 15:31:06 +0300
commit55aad51141907ea7834eb0cbcdf6f92e3fdce5d1 (patch)
treef556878f25667e079ce6d0dac96bda76f5f8be31 /audio/csound/src/filter/imp.rs
parent288acaa7ccb596e63af47b8ef7b8408a84f973b3 (diff)
Update for glib constructor renames
See https://github.com/gtk-rs/gtk-rs-core/pull/384
Diffstat (limited to 'audio/csound/src/filter/imp.rs')
-rw-r--r--audio/csound/src/filter/imp.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/csound/src/filter/imp.rs b/audio/csound/src/filter/imp.rs
index 9341a30b9..bf1b4e270 100644
--- a/audio/csound/src/filter/imp.rs
+++ b/audio/csound/src/filter/imp.rs
@@ -347,14 +347,14 @@ impl ObjectImpl for CsoundFilter {
fn properties() -> &'static [glib::ParamSpec] {
static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
vec![
- glib::ParamSpec::new_boolean(
+ glib::ParamSpecBoolean::new(
"loop",
"Loop",
"loop over the score (can be changed in PLAYING or PAUSED state)",
DEFAULT_LOOP,
glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING,
),
- glib::ParamSpec::new_string(
+ glib::ParamSpecString::new(
"location",
"Location",
"Location of the csd file to be used by csound.
@@ -362,7 +362,7 @@ impl ObjectImpl for CsoundFilter {
None,
glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
- glib::ParamSpec::new_string(
+ glib::ParamSpecString::new(
"csd-text",
"CSD-text",
"The content of a csd file passed as a String.
@@ -370,7 +370,7 @@ impl ObjectImpl for CsoundFilter {
None,
glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
- glib::ParamSpec::new_double(
+ glib::ParamSpecDouble::new(
"score-offset",
"Score Offset",
"Score offset in seconds to start the performance",