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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-12-13 12:43:16 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-12-13 12:43:16 +0300
commit3f904553ea1336fc73333ec680493c41250a03fe (patch)
treeea270ea2f9b5484fc729a4a174ea2a0261e89f9a /audio/csound
parent289e8a08c31610fbf62056f8a156eb647e9c3a2a (diff)
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1011>
Diffstat (limited to 'audio/csound')
-rw-r--r--audio/csound/tests/csound_filter.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/csound/tests/csound_filter.rs b/audio/csound/tests/csound_filter.rs
index 275a90e3..d52bb3b1 100644
--- a/audio/csound/tests/csound_filter.rs
+++ b/audio/csound/tests/csound_filter.rs
@@ -260,10 +260,7 @@ fn csound_filter_underflow() {
}
assert_eq!(num_buffers, UNDERFLOW_NUM_BUFFERS / 2);
- assert_eq!(
- num_samples as usize,
- UNDERFLOW_NUM_SAMPLES * UNDERFLOW_NUM_BUFFERS
- );
+ assert_eq!(num_samples, UNDERFLOW_NUM_SAMPLES * UNDERFLOW_NUM_BUFFERS);
}
// Verifies that the caps negotiation is properly done, by pushing buffers whose caps