andrewrk/libebur128
libebur128 with the build system replaced by zig
This is a fork of libebur128, packaged
for Zig. Unnecessary files have been deleted, and the build system has been
replaced with build.zig
.
Original README follows:
============================================================================
libebur128 is a library that implements the EBU R 128 standard for loudness normalisation.
All source code is licensed under the MIT license. See COPYING file for details.
See also loudness-scanner tool.
v1.2.6 released:
v1.2.5 released:
BUILD_STATIC_LIBS
build option. Instead the CMake-supported
BUILD_SHARED_LIBS
option is now honored as expected.ebur128_set_channel
. The actual behavior is now
aligned to the documentation (#90).v1.2.4 released:
ebur128_loudness_global_multiple()
function. Since v1.1.0 it
calculated the relative threshold just from the last state given to it,
resulting in wrong values.ebur128_init()
, possibly resulting in wrong
valuesv1.2.3 released:
v1.2.2 released (v1.2.1 was mistagged):
v1.2.0 released:
ebur128_loudness_window()
ebur128_set_max_window()
ebur128_set_max_history()
ebur128_prev_sample_peak()
ebur128_prev_true_peak()
v1.1.0 released:
ebur128_relative_threshold()
v1.0.3 released:
In the root folder, type:
mkdir build
cd build
cmake ..
make
If you want the git version, run simply:
git clone git://github.com/jiixyj/libebur128.git
Library usage should be pretty straightforward. All exported symbols are documented in the ebur128.h header file. For a usage example, see minimal-example.c in the tests folder.
On some operating systems, static libraries should be compiled as position
independent code. You can enable that by turning on WITH_STATIC_PIC
.