concentus icon indicating copy to clipboard operation
concentus copied to clipboard

Modernize everything!

Open lostromb opened this issue 2 years ago • 0 comments

  • Move to .Net 8
  • Full span-in, span-out codec API (no more temp byte buffers or passing buffer offsets separately!)
  • Export a single netstandard library for all frameworks
  • Remove unsafe project flavor (awkward to maintain and it doesn't actually offer much performance benefit - we might end up making the whole thing unsafe though to support P/Invoke...)
  • Include opus error code in OpusException
  • Use strong-name signing on exported library
  • (TODO) Replace legacy nuspec export with modern .Net auto packaging
  • (TODO) Minor performance improvements (using span copies under the hood instead of Array.Copy, vectorize some algorithms where possible... (fixed-point vectorization is very fickle though)) - This also covers the Array.Copy type mismatch bug that can happen with NAudio users...
  • (TODO) Fix egregious bugs in Multistream encoder / decoder and add actual coverage tests (5.1 encoding no longer breaks instantly)
  • (FEATURE REQUEST) Span input for OpusPacketInfo.Parse
  • (FEATURE REQUEST) Span input for multistream encode / decode

lostromb avatar Oct 16 '23 00:10 lostromb