BSD Ports

audio/sdl_audiolib git20220713_1 MidnightBSD

Audio decoding, resampling and mixing library for SDL

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
e7b96113b0
License
lgpl3
Categories
audio

Description

This is a small and simple to use C++ library for playing various audio formats. It is a thin (-ish) wrapper around existing resampling (like SRC or SoX) and decoding libraries (like libmpg123 or libvorbis.)

It was written as a replacement for SDL_mixer, due to SDL_mixer's lack of multiple music streams, limited audio format support and poor resampling quality.

In the other systems

The newest version among them is git20220713, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDaudio/sdl_audiolibgit20220713_1 newestno data-[email protected]2026-09-07
FreeBSDaudio/sdl_audiolibgit20220713_9 newestnone known-[email protected]-
DragonFlyaudio/sdl_audiolibgit20220713_7 newestnone known-[email protected]-
HardenedBSDaudio/sdl_audiolibgit20220713_9 newestno data-[email protected]-
GhostBSDaudio/sdl_audiolibgit20220713_9 newestno data-[email protected]-

Install

Binary package:

mport install sdl_audiolib

From mports:

cd /usr/mports/audio/sdl_audiolib && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sdl_audiolib>0:audio/sdl_audiolib
LIB_DEPENDS=	libSDL_audiolib.so:audio/sdl_audiolib

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: audio_sdl_audiolib

OptionDefaultDescription
DOCSoff
FLACon
FLUIDSYNTHon
MODPLUGon
MPG123on
MUSEPACKon
OPENMPTonOpenMPT MOD decoder
OPUSon
SAMPLERATEon
SNDFILEon
SOXRon
VORBISon
WILDMIDIonWildMIDI MIDI decoder
XMPonXMP MOD decoder
USES
cmake pkgconfig sdl
Service scripts
none

Files

pkg-plist 30
  • include/SDL_audiolib/aulib.h
  • include/SDL_audiolib/aulib_export.h
  • include/SDL_audiolib/aulib_global.h
  • include/SDL_audiolib/aulib_version.h
  • include/SDL_audiolib/Aulib/Decoder.h
  • include/SDL_audiolib/Aulib/DecoderDrflac.h
  • include/SDL_audiolib/Aulib/DecoderDrmp3.h
  • include/SDL_audiolib/Aulib/DecoderDrwav.h
  • include/SDL_audiolib/Aulib/DecoderFlac.h
  • include/SDL_audiolib/Aulib/DecoderFluidsynth.h
  • include/SDL_audiolib/Aulib/DecoderModplug.h
  • include/SDL_audiolib/Aulib/DecoderMpg123.h
  • include/SDL_audiolib/Aulib/DecoderMusepack.h
  • include/SDL_audiolib/Aulib/DecoderOpenmpt.h
  • include/SDL_audiolib/Aulib/DecoderOpus.h
  • include/SDL_audiolib/Aulib/DecoderSndfile.h
  • include/SDL_audiolib/Aulib/DecoderVorbis.h
  • include/SDL_audiolib/Aulib/DecoderWildmidi.h
  • include/SDL_audiolib/Aulib/DecoderXmp.h
  • include/SDL_audiolib/Aulib/Processor.h
  • include/SDL_audiolib/Aulib/Resampler.h
  • include/SDL_audiolib/Aulib/ResamplerSdl.h
  • include/SDL_audiolib/Aulib/ResamplerSox.h
  • include/SDL_audiolib/Aulib/ResamplerSpeex.h
  • include/SDL_audiolib/Aulib/ResamplerSrc.h
  • include/SDL_audiolib/Aulib/Stream.h
  • lib/libSDL_audiolib.so
  • lib/libSDL_audiolib.so.0
  • lib/libSDL_audiolib.so.0.0.0
  • libdata/pkgconfig/SDL_audiolib.pc
distinfo 1
FileSizeSHA256
realnc-SDL_audiolib-git20220713-cc1bb6a_GH0.tar.gz1.139627e+06a9a7eaa0a211921e588b619a94f0b6631dc6722998ca96511c637c096c83bf0a

Commit history 1

DateCommitCreditsLog message
e7b96113b0 Lucas Holt devel/libfmt: update to 12.1.0 and fix the tree for fmt 12 (#853)
Updates `devel/libfmt` from 9.1.0 to 12.1.0 and fixes every consumer that breaks as a result. Originally a prerequisite for `ai/pytorch` 2.13.0 (#851), which vendors fmt 12.1.0 and does not build against fmt 9. > **This must land as a single unit.** Between libfmt 12 going in and the > consumers being rebuilt, a stale consumer breaks *unrelated* builds with > misleading errors — a leftover `libze_loader.so.1` needing `libfmt.so.9` > made `net/openmpi4`'s configure report a bogus "cannot link hwloc". The > builder should rebuild all 26 touched ports. ## Core | Port | Change | |---|---| | `devel/libfmt` | 9.1.0 → 12.1.0 (SONAME `.so.9` → `.so.12`) | | `devel/spdlog` | 1.15.0 → 1.17.0 — 1.15 doesn't compile against fmt 12 …