4 releases

0.1.7 Feb 8, 2025
0.1.6 Feb 8, 2025
0.1.4 Feb 21, 2023
0.1.2 Dec 9, 2022

#1001 in Audio

Download history 6899/week @ 2024-10-30 8542/week @ 2024-11-06 7228/week @ 2024-11-13 10274/week @ 2024-11-20 11433/week @ 2024-11-27 8460/week @ 2024-12-04 8965/week @ 2024-12-11 6715/week @ 2024-12-18 4705/week @ 2024-12-25 5094/week @ 2025-01-01 6477/week @ 2025-01-08 6958/week @ 2025-01-15 10587/week @ 2025-01-22 11324/week @ 2025-01-29 11167/week @ 2025-02-05 10972/week @ 2025-02-12

45,107 downloads per month
Used in 18 crates (via mp3lame-encoder)

LGPL-3.0

2.5MB
62K SLoC

C 30K SLoC // 0.1% comments M4 9K SLoC // 0.2% comments Shell 8K SLoC // 0.2% comments C++ 7K SLoC // 0.3% comments Visual Studio Project 5.5K SLoC Automake 469 SLoC // 0.1% comments Rust 398 SLoC // 0.0% comments Visual Studio Solution 194 SLoC Pascal 178 SLoC // 0.3% comments RPM Specfile 144 SLoC // 0.0% comments Batch 90 SLoC VBScript 86 SLoC // 0.4% comments Snakemake 47 SLoC Perl 33 SLoC // 0.3% comments

Contains (autotools obfuscated code, 605KB) lame-3.100/configure

mp3lame-sys

Rust Crates.io Documentation

Bindings to LAME

This is static only build with bundled version 3.100 (latest as of 2022/12/08)

There is safe and convenient wrapper over it: https://github.com/DoumanAsh/mp3lame-encoder

Features

  • decoder - Enables MPG library decoding under GPL;
  • target_host - Overrides host option with TARGET for purpose of compiling C code in case of cross-compilation.

Env variables

  • MP3LAME_SYS_OVERRIDE_HOST - Specifies override for host option within configure.

License

LAME library is under LGPL License. Hence this crate is licensed under the same shitty license

Dependencies