Logan Stromberg
Logan Stromberg
It's possible something slipped through when I did fuzz testing of the API. Funnily enough, I found a lot of these overflows during development that were actual bugs in the...
Try sending the same audio through the C libopus to see [if it's an issue there as well](https://github.com/xiph/opus/blob/6b6035ae4a29abbd237463d84a45fbeb0d92bc18/celt/bands.c#L68). Concentus is just a 1:1 port of the C code (albeit a...
There's [one in the demo project](https://github.com/lostromb/concentus/blob/master/CSharp/ConcentusDemo/NativeOpusCodec.cs) you can reuse.
Uh, yeah, sure. You can start with some of the tight-loop kernels such as in [here](https://github.com/lostromb/concentus/blob/master/CSharp/Concentus/Celt/Kernels.cs). Replace the `byte[] array, int array_offset, int array_length` function signatures with `Span` and then...
I took a quick shot of this because I was curious if .Net 6 carries an measurable performance benefits for this application. [Porting the obvious](https://github.com/lostromb/concentus/tree/modernize) places in kernels, xcorr, VQ,...
Version 2.0.0 of the package will be signed once it releases.
Where is `OpusFile` coming from? If you are trying to make OggOpus formatted output, why not just use [Concentus.OggFile](https://github.com/lostromb/concentus.oggfile)? I suspect your error has something to do with buffer sizes...
Short answer: I think the bug is in `new byte[packetSamples * 2 * 2];` . You seem to be multiplying `samples` by (2 bytes per sample) * (2 channels), except...
This typically isn't something you would do at the Opus codec level. An .opus file is just an Ogg formatted container which has a stream with Opus packets in it....
Do you mean 5.1 channel audio, or playing an Ogg file that has more than 1 elementary stream? If there is more than 1 elementary stream, are they interleaved, or...