gst-plugins-rs/audio/csound
Antonio Larrosa e0b577fe1d csound: Fix cast to f64 so it builds in i586
For some reason (compiler bug?), the rust compiler fails to compare u32 and f64 types
when doing a wildcard cast on i586 with the following error:

error[E0282]: type annotations needed
   --> audio/csound/src/filter/imp.rs:611:47
    |
611 |         if rate != out_info.rate() || rate != csound.get_sample_rate() as _ {
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
    |
    = note: type must be known at this point

Using an explicit cast solves the issue.
2021-04-20 12:26:12 +00:00
..
examples fix-getters-{def,calls} pass 2021-04-12 15:57:19 +02:00
src csound: Fix cast to f64 so it builds in i586 2021-04-20 12:26:12 +00:00
tests fix-getters-{def,calls} pass 2021-04-12 15:57:19 +02:00
build.rs Fix various new clippy warnings with clippy 1.43 2020-04-24 13:55:01 +03:00
Cargo.toml use cargo-c to produce cdy and static libs 2021-01-04 12:26:45 +01:00
LICENSE-LGPLv2 Add LICENSE files to each individual crate 2020-07-10 13:06:28 +03:00
README.md Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00

gst-plugin-csound

This is a GStreamer plugin to interact with the Csound sound computing system.

Currently, there is only a filter element, called, csoundfilter. Two more elements a source and sink would be implemented later on.

For more information about dependencies and installation process, please refer to the csound-rs documentation

simple example

The included example constructs the follow pipeline

$ gst-launch-1.0 \
    audiotestsrc ! \
    audioconvert ! \
    csoundfilter location=effect.csd ! \
    audioconvert ! \
    autoaudiosink