Skip to content

DominusFulguris/libopus_for_esp32

 
 

Repository files navigation

libopus_for_esp32

Experiments to port libopus encode/decoder to esp32

Original sources by the authors of Opus: http://opus-codec.org

=================================================================================

First benchmark: Encode Sample16kHz.raw (little-endian) data, 16 bit, stereo 16000 Hz 10 seconds It's still missing the ogg part !!!!

  1. Without CFLAGS:

9746146 microseconds

  1. Without CFLAGS and FIXED_POINT:

8185269 microseconds

  1. Without CFLAGS and release mode:

8970423 microseconds

So, the best option is (2): 1,22 realtime.

=================================================================================

TODO:

  • Create ogg part
  • Encode something infinite to check memory leaks
  • Profile to find the heaviest parts
  • Investigate esp32 dsp features: Vectra LX DSP Engine, MAC16
  • Streaming over tcp and http

=================================================================================

About

Experiments to port opus encoder/decoder to esp32 IoT platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • C++ 4.2%
  • Other 0.2%