libear
ltools
libear | ltools | |
---|---|---|
2 | 2 | |
25 | 3 | |
- | - | |
6.7 | 1.8 | |
about 1 month ago | over 2 years ago | |
C++ | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libear
-
Object-Based Audio Renderer
The BBC did a lot of work in this area (disclaimer: I worked for them), including creating an open source renderer: https://www.bbc.co.uk/rd/blog/2019-08-libear-ebu-audio-renderer-next-generation-open-source. The code is here: https://github.com/ebu/libear. Start at https://github.com/ebu/libear/blob/master/examples/objects_gains.cpp and work back through the code.
-
What's the Most Portable Way to Include Binary Blobs in an Executable?
My colleague wrote this solution for C++ and cmake:
https://github.com/ebu/libear/commit/40a4000296190c3f91eba79...
This is a cmake function which generates C++ files using no external tools. It's probably not very fast, but if you don't need to handle big files and are already using cmake this is easy to integrate, adds no dependencies and works on all platforms.
ltools
-
What's the Most Portable Way to Include Binary Blobs in an Executable?
https://github.com/jochenleidner/ltools/blob/main/src/bin/bi...
What I found is that many compilers don't like to compile very large source files; so if the binaries you'd like to integrate are big, it might be better to integrate their constituent objects one by one (if applicable).
-
Show HN: C programming language extension: Cedro pre-processor
> I wish binary inclusion was provided by more languages or build systems. For small files it's a very suitable alternative to the difficulties of packaging resources when distributing an application or library.
When it occasionally comes up as a need, I use the bintosrc command available at https://github.com/jochenleidner/ltools
What are some alternatives?
LIEF - LIEF - Library to Instrument Executable Formats
cmacro - Lisp macros for C
shiv - shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
MyDef - Programming in the next paradigm -- your way
postject - Easily inject arbitrary read-only resources into executable formats (Mach-O, PE, ELF) and use it at runtime.
libadm - Audio Definition Model (ITU-R BS.2076) handling library
rage - A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.