BSD Ports

audio/sdl_sound 1.0.3_3 MidnightBSD

SDL audio library and player for some popular sound file formats

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1+
Categories
audio

Description

SDL_sound is a library that handles the decoding of several popular sound file formats, such as raw, wav, mp3, flac, ogg, voc, shn, aiff, au, and some others.

It is meant to make the programmer's sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure.

If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform.

SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDaudio/sdl_sound1.0.3_3 newestno data-[email protected]-
FreeBSDaudio/sdl_sound1.0.3_18 newestnone known-[email protected]2026-08-29
DragonFlyaudio/sdl_sound1.0.3_17 newestnone known-[email protected]-
HardenedBSDaudio/sdl_sound1.0.3_18 newestno data-[email protected]-
GhostBSDaudio/sdl_sound1.0.3_18 newestno data-[email protected]-

Install

Binary package:

mport install sdl_sound

From mports:

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

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

RUN_DEPENDS=	sdl_sound>0:audio/sdl_sound
LIB_DEPENDS=	libSDL_sound.so:audio/sdl_sound

Dependencies

No port depends on this one.

Configuration

Options name: audio_sdl_sound

OptionDefaultDescription
FLACon
MIDIonSoftware MIDI music
MIKMODon
MODPLUGon
PHYSFSonPhysicsFS support
SMPEGonMP3 audio format
SPEEXon
VORBISon
USES
libtool localbase sdl
Service scripts
none

Files

pkg-plist 7
  • bin/playsound
  • bin/playsound_simple
  • include/SDL/SDL_sound.h
  • lib/libSDL_sound-1.0.so.1
  • lib/libSDL_sound-1.0.so.1.0.2
  • lib/libSDL_sound.a
  • lib/libSDL_sound.so
distinfo 1
FileSizeSHA256
SDL_sound-1.0.3.tar.gz1.1271e+063999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df
Master sites 1
  • http://www.icculus.org/SDL_sound/downloads/