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
path: root/audio
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-10-22 19:06:29 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-10-22 19:50:24 +0300
commitf058a5e2296d69456dae9a2960af79be7becfaa3 (patch)
tree3b46cc2a541b557e6b493f7b9aa36c13ff529139 /audio
parentf3546819edd26042f9d853a7f1ff7d24771f61a6 (diff)
Various minor cleanups
Diffstat (limited to 'audio')
-rw-r--r--audio/audiofx/tests/audioloudnorm.rs2
-rw-r--r--audio/csound/examples/effect_example.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/audiofx/tests/audioloudnorm.rs b/audio/audiofx/tests/audioloudnorm.rs
index 3540c9f90..2e6973ed7 100644
--- a/audio/audiofx/tests/audioloudnorm.rs
+++ b/audio/audiofx/tests/audioloudnorm.rs
@@ -66,7 +66,7 @@ fn run_test(
.downcast::<gst_app::AppSink>()
.unwrap();
- sink.set_property("sync", false);
+ sink.set_sync(false);
let caps = gst_audio::AudioInfo::builder(gst_audio::AUDIO_FORMAT_F64, 192_000, channels)
.build()
.unwrap()
diff --git a/audio/csound/examples/effect_example.rs b/audio/csound/examples/effect_example.rs
index a681f2c0a..f1e8355fa 100644
--- a/audio/csound/examples/effect_example.rs
+++ b/audio/csound/examples/effect_example.rs
@@ -73,7 +73,7 @@ const CSD: &str = "
</CsoundSynthesizer>";
fn create_pipeline() -> Result<gst::Pipeline, Box<dyn Error>> {
- let pipeline = gst::Pipeline::new(None);
+ let pipeline = gst::Pipeline::default();
let audio_src = gst::parse_bin_from_description(AUDIO_SRC, true)?.upcast();