mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
e0b577fe1d
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. |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE-LGPLv2 | ||
README.md |
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