diff options
author | François Laignel <fengalin@free.fr> | 2021-04-20 15:57:40 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-20 19:19:58 +0300 |
commit | 27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (patch) | |
tree | 8837a6ede376d71ede06dfa553250b19de618b16 /audio/csound/src | |
parent | e0b577fe1d96779cac8b2bdd365f84c008232246 (diff) |
fix-getters-def 0.3.0 pass
Diffstat (limited to 'audio/csound/src')
-rw-r--r-- | audio/csound/src/filter/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/csound/src/filter/imp.rs b/audio/csound/src/filter/imp.rs index 68049c830..9795e3b8f 100644 --- a/audio/csound/src/filter/imp.rs +++ b/audio/csound/src/filter/imp.rs @@ -88,7 +88,7 @@ impl State { in_process_samples * self.out_info.bpf() as usize } - fn get_bytes_to_read(&mut self, output_size: usize) -> usize { + fn bytes_to_read(&mut self, output_size: usize) -> usize { // The max amount of bytes at the input that We would need // for filling an output buffer of size *output_size* (output_size / self.out_info.bpf() as usize) * self.in_info.bpf() as usize @@ -418,7 +418,7 @@ impl ObjectImpl for CsoundFilter { } } - fn get_property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value { + fn property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value { match pspec.name() { "loop" => { let settings = self.settings.lock().unwrap(); |