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:
Diffstat (limited to 'audio/csound/src/filter/imp.rs')
-rw-r--r--audio/csound/src/filter/imp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/csound/src/filter/imp.rs b/audio/csound/src/filter/imp.rs
index ea0fa4654..6b7a181d0 100644
--- a/audio/csound/src/filter/imp.rs
+++ b/audio/csound/src/filter/imp.rs
@@ -144,11 +144,11 @@ impl CsoundFilter {
if let Some(ref location) = settings.location {
csound
.compile_csd(location)
- .map_err(|e| error_msg!(gst::LibraryError::Failed, [e]))?;
+ .map_err(|e| error_msg!(gst::LibraryError::Failed, ["{e}"]))?;
} else if let Some(ref text) = settings.csd_text {
csound
.compile_csd_text(text)
- .map_err(|e| error_msg!(gst::LibraryError::Failed, [e]))?;
+ .map_err(|e| error_msg!(gst::LibraryError::Failed, ["{e}"]))?;
} else {
return Err(error_msg!(
gst::LibraryError::Failed,
@@ -470,7 +470,7 @@ impl BaseTransformImpl for CsoundFilter {
csound.set_score_offset_seconds(settings.offset);
if let Err(e) = csound.start() {
- return Err(error_msg!(gst::LibraryError::Failed, [e]));
+ return Err(error_msg!(gst::LibraryError::Failed, ["{e}"]));
}
Ok(())