0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-24 14:01:41 +00:00
Files
Robert Kirkman 60e2391300 fix(main/libsndfile): link to libmp3lame
- Fixes #23114

Before:

```
External MPEG Lame/MPG123 : ........... no
```

`libsndfile` reverse dependency example: **`rubberband`**:

```
~ $ rubberband -t 2 example.mp3 example_out.mp3
Using R2 (faster) engine
Using crispness level: 5 (Crisp monophonic instrumental)
ERROR: Failed to open input file "example.mp3": File contains data in an unimplemented format.
```

After:

```
External MPEG Lame/MPG123 : ........... yes
```

`libsndfile` reverse dependency example: **`rubberband`**:

```
~ $ rubberband -t 2 example.mp3 example_out.mp3
Using R2 (faster) engine
Using crispness level: 5 (Crisp monophonic instrumental)
Using time ratio 2 and frequency ratio 1
Pass 1: Studying...
Calculating profile...
Pass 2: Processing...

in: 2557062, out: 5114124, ratio: 2, ideal output: 5114124, error: 0

[...]

~ $ mplayer example_out.mp3 # slowed audio
```

Additional Side Effect: this dependency change **replicates the way Debian's `audacity` package pulls in Debian's `libmp3lame0`**:

In Debian:

`audacity` depends by dynamic linking on: `libsndfile1`
`libsndfile1` depends by dynamic linking on: `libmp3lame0`
`audacity` `dlopen()`s: `libmp3lame.so.0` (without going through `libsndfile1`)
2025-02-07 13:37:28 +02:00

1.2 KiB