audio/deadbeef: enable both MP3 decoding backends by default

Historically, libmad was the first choice, as there probably were no
libmpg123 at the time, only the console player (mpg123), and because
it provided best precision out of integer math*.  Later several bugs
had been found in libmad which resulted in the incorrect decoding of
some MP3 files, so libmpg123 support was added and made the default,
and MAD backend was left for flexibility and testing.  By that time,
there should not be significant performance differences between both
backends on commodity hardware.

Upstream enables both of them in the official binaries for GNU/Linux
and macOS, they can be switched on the fly without rebuilding, so we
should follow the same path (offering more featureful package) which
can become handy if one backend suddenly breaks, e.g. see PR 264442.

*) https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1201101.html
This commit is contained in:
Alexey Dokuchaev 2025-02-15 06:59:48 +00:00
parent def21c840b
commit c9c92dab5b

View file

@ -27,15 +27,17 @@ USE_GNOME= intltool
SHEBANG_FILES= yasmwrapper.sh SHEBANG_FILES= yasmwrapper.sh
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \ OPTIONS_DEFINE= AAC ADPLUG ALAC ART CDDA CONVERTER DCA DSP DUMB FFAP \
HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \ FFMPEG FLAC GME GUI HOTKEYS LASTFM M3U MMS MONO2STEREO \
MUSEPACK WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC NLS M3U \ MUSEPACK NLS NOTIFY OGG PLTBROWSER PSF PULSEAUDIO SC68 \
PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \ SHELLEXEC SHN SID SNDFILE SUPEREQ TTA VFS VFS_ZIP VTX \
WMA SC68 WAVPACK WILDMIDI WMA
OPTIONS_DEFAULT=MAD GTK2 VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \
OGG FLAC SNDFILE WAVPACK GME DUMB NOTIFY MUSEPACK \ OPTIONS_DEFAULT=AAC ADPLUG ALAC ART CONVERTER DCA DSP DUMB FFAP FLAC GME \
WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC M3U PSF ADPLUG DSP \ GTK2 HOSTKEYS HOTKEYS LASTFM M3U MAD MMS MONO2STEREO \
MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA SC68 MPG123 MUSEPACK NOTIFY OGG PLTBROWSER PSF SC68 SHELLEXEC \
SHN SID SNDFILE SUPEREQ TTA VFS VFS_ZIP VTX WAVPACK \
WILDMIDI WMA
PULSEAUDIO_DESC= PulseAudio output plugin (unsupported) PULSEAUDIO_DESC= PulseAudio output plugin (unsupported)
GUI_DESC= Standard GUI plugin GUI_DESC= Standard GUI plugin
@ -52,7 +54,7 @@ GME_DESC= Chiptune music support (based on GME)
DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc. DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc.
NOTIFY_DESC= OSD notification support in GTKUI plugin NOTIFY_DESC= OSD notification support in GTKUI plugin
WILDMIDI_DESC= WildMIDI synthesizer plugin WILDMIDI_DESC= WildMIDI synthesizer plugin
SC68_DESC= sc68 Atari ST And Amiga player SC68_DESC= sc68 Atari ST and Amiga player
SHN_DESC= Shorten waveform encoder support SHN_DESC= Shorten waveform encoder support
SHELLEXEC_DESC= Shell commands execution plugin SHELLEXEC_DESC= Shell commands execution plugin
M3U_DESC= M3U and PLS playlist format support M3U_DESC= M3U and PLS playlist format support