audio/libmad 0.16.4 MidnightBSD
MPEG audio decoder library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- gpl2+
- Categories
- audio
Description
MAD (libmad) is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.
MAD does not yet support MPEG-2 multichannel audio (although it should be backward compatible with such streams) nor does it currently support AAC.
MAD has the following special features:
- 24-bit PCM output
- 100% fixed-point (integer) computation
- completely new implementation based on the ISO/IEC standards
- distributed under the terms of the GNU General Public License (GPL)
Because MAD provides full 24-bit PCM output, applications using MAD are able to produce high quality audio. Even when the output device supports only 16-bit PCM, applications can use the extra resolution to increase the audible dynamic range through the use of dithering or noise shaping.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | audio/libmad | 0.16.4 |
| FreeBSD | audio/libmad | 0.16.4 |
| OpenBSD | audio/libmad | 0.15.1bp7 |
| NetBSD | audio/libmad | 0.15.1bnb3 |
| DragonFly | audio/libmad | 0.16.4 |
| HardenedBSD | audio/libmad | 0.16.4 |
| GhostBSD | audio/libmad | 0.16.4 |
Install
Binary package:
mport install libmad
From mports:
cd /usr/mports/audio/libmad && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libmad>0:audio/libmad
LIB_DEPENDS= libmad.so:audio/libmad
Dependencies
Configuration
Options name: audio_libmad
| Option | Default | Description |
|---|---|---|
| ACCURACY | off | Optimize for accuracy over speed |
| SPEED | on | Optimize for speed over accuracy |
- USES
- cmake cpe pathfix
- Service scripts
- none
Files
pkg-plist 9
- include/mad.h
- lib/cmake/mad/madConfig.cmake
- lib/cmake/mad/madConfigVersion.cmake
- lib/cmake/mad/madTargets-.cmake
- lib/cmake/mad/madTargets.cmake
- lib/libmad.so
- lib/libmad.so.0
- lib/libmad.so.
- libdata/pkgconfig/mad.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libmad-0.16.4.tar.gz | 921048 | 0f6bfb36c554075494b5fc2c646d08de7364819540f23bab30ae73fa1b5cfe65 |
Master sites 1
- https://codeberg.org/tenacityteam/libmad/releases/download/0.16.4/