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:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-04-10 14:34:46 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-04-10 14:35:32 +0300
commit403004a85e7bdd7567d3381d592ef00e5914b6ed (patch)
tree93caa4153b50799f4e784beaad9b075330ae4648 /audio/csound/src/filter/imp.rs
parenta45581987189b45bc9d9d55750d0181806d6fe1b (diff)
fix typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1170>
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 6b7a181d0..ed2a34269 100644
--- a/audio/csound/src/filter/imp.rs
+++ b/audio/csound/src/filter/imp.rs
@@ -127,9 +127,9 @@ impl CsoundFilter {
let spout = csound.get_spout().unwrap();
let in_chunks = idata.chunks_exact(spin.len());
- let out_chuncks = odata.chunks_exact_mut(spout.len());
+ let out_chunks = odata.chunks_exact_mut(spout.len());
let mut end_score = false;
- for (ichunk, ochunk) in in_chunks.zip(out_chuncks) {
+ for (ichunk, ochunk) in in_chunks.zip(out_chunks) {
spin.copy_from_slice(ichunk);
end_score = csound.perform_ksmps();
spout.copy_to_slice(ochunk);
@@ -254,7 +254,7 @@ impl CsoundFilter {
);
// Get the required amount of bytes to be read from
- // the adapter to fill an ouput buffer of size output_size
+ // the adapter to fill an output buffer of size output_size
let bytes_to_read = state.bytes_to_read(output_size);
let indata = state
@@ -554,7 +554,7 @@ impl BaseTransformImpl for CsoundFilter {
// Flush previous state
if self.state.lock().unwrap().is_some() {
self.drain()
- .map_err(|e| loggable_error!(CAT, "Error flusing previous state data {:?}", e))?;
+ .map_err(|e| loggable_error!(CAT, "Error flushing previous state data {:?}", e))?;
}
let in_info = gst_audio::AudioInfo::from_caps(incaps)