gst-plugins-rs/Cargo.toml
Ruben Gonzalez 7d3ab342d2 Add claxon based FLAC decoder.
Audio decoder element structure is based in `gst-plugin-lewton` (a lewton based Vorbis decoder created by @slomo)

The element assumes correctly parsed input from `flacparse`.

Implementation details:

* Claxon returned frames does not contain audio channels interleaved, the reorganization of the channels is done by the element.
* Claxon output buffers are always Vec<i32>, mapping to the correct type (depending on the audio format) is also done by the element.

Mono s16 and stereo_s32 test are provided.

Complete pipelines to test are:

```
gst-launch-1.0  -v souphttpsrc location=https://archive.org/download/MLKDream/MLKDream.flac ! queue2 !  flacparse ! flacdec ! audioconvert ! autoaudiosink
gst-launch-1.0  -v audiotestsrc ! audio/x-raw, format=S16LE, layout=interleaved, rate=44100, channels=1 ! audioconvert ! flacenc ! flacparse ! claxondec ! autoaudiosink
```

Fixes #71
2020-01-19 16:01:23 +00:00

31 lines
583 B
TOML

[workspace]
members = [
"gst-plugin-dav1d",
"gst-plugin-file",
"gst-plugin-reqwest",
"gst-plugin-flv",
"gst-plugin-audiofx",
"gst-plugin-togglerecord",
"gst-plugin-threadshare",
"gst-plugin-tutorial",
"gst-plugin-closedcaption",
"gst-plugin-version-helper",
"gst-plugin-sodium",
"gst-plugin-cdg",
"gst-plugin-rav1e",
"gst-plugin-rusoto",
"gst-plugin-fallbackswitch",
"gst-plugin-lewton",
"gst-plugin-claxon",
]
[profile.release]
lto = true
opt-level = 3
debug = true
panic = 'unwind'
[profile.dev]
opt-level = 1