lewton icon indicating copy to clipboard operation
lewton copied to clipboard

Rust vorbis decoder

Results 27 lewton issues
Sort by recently updated
recently updated
newest added

I would like to be able to manually construct the vorbis headers without reading them from a byte stream. I'm reading the vorbis data from a custom format which encodes...

enhancement

Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.13 to 0.6.14. Release notes Sourced from smallvec's releases. v0.6.14 Fix a possible buffer overflow in insert_many (#252, #254). Commits 5757ac5 Fix potential buffer overflow in insert_many...

dependencies

`smallvec` seems to be in much higher use than `tinyvec`, so adding `tinyvec` tends to increase the amount of work while using `lewton` as a dependency in a typical build....

Current `OggStreamReader` has several issues: * We cannot seek the stream at sample-level (closes #16) * `get_last_absgp` provides insufficient information in some case (closes #84) and may not work for...

After patching the dead bitbucket link for `thingy-floor0.ogg` to http://achurch.org/hg/libnogg/raw-file/tip/tests/data/thingy-floor0.ogg in `/dev/cmp/src/lib.rs`, it panics within vorbis-rs when running `cargo run --release -- bench`: thread 'main' panicked at 'attempted to zero-initialize...

bug

I think there should be a function somewhere to get a vorbis stream's length in samples, much similar to [this one]( https://github.com/nothings/stb/blob/c9064e317699d2e495f36ba4f9ac037e88ee371a/stb_vorbis.c#L4926-L4999) in stb.

Time seeking similar to `ov_time_seek` would be very useful. Or maybe it is already there?

It would be cool to experiment with adding a feature that uses autovectorization if available: https://github.com/calebzulawski/multiversion

When given a crafted input lewton attempts to allocate enormous amounts of memory. This presents several issues: 1. This has DoS potential: opening several ogg files for decoding at once...

As far as I can read from the specs, in an ogg files that has multiple chained logical streams, there is no guarantee that the absolute granule position for all...