BSD Ports

audio/sdl2_sound 2.0.4 MidnightBSD

Abstract SDL soundfile decoder

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
zlib
Categories
audio

Description

SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. 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 2.0.6, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDaudio/sdl2_sound2.0.4no data-[email protected]-
FreeBSDaudio/sdl2_sound2.0.6 newestnone known-[email protected]-
DragonFlyaudio/sdl2_sound2.0.4none known-[email protected]-
HardenedBSDaudio/sdl2_sound2.0.6 newestno data-[email protected]-
GhostBSDaudio/sdl2_sound2.0.6 newestno data-[email protected]-

Install

Binary package:

mport install sdl2_sound

From mports:

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

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

RUN_DEPENDS=	sdl2_sound>0:audio/sdl2_sound
LIB_DEPENDS=	libSDL2_sound.so:audio/sdl2_sound

Dependencies

No port depends on this one.

Configuration

Options name: audio_sdl2_sound

OptionDefaultDescription
DOCSoff
EXAMPLESoff
MIDIonMIDI support
USES
cmake sdl
Service scripts
none

Files

pkg-plist 13
  • bin/playsound2
  • include/SDL2/SDL_sound.h
  • lib/cmake/SDL2_sound/SDL2_sound-shared-targets-.cmake
  • lib/cmake/SDL2_sound/SDL2_sound-shared-targets.cmake
  • lib/cmake/SDL2_sound/SDL2_sound-static-targets-.cmake
  • lib/cmake/SDL2_sound/SDL2_sound-static-targets.cmake
  • lib/cmake/SDL2_sound/SDL2_soundConfig.cmake
  • lib/cmake/SDL2_sound/SDL2_soundConfigVersion.cmake
  • lib/libSDL2_sound.a
  • lib/libSDL2_sound.so
  • lib/libSDL2_sound.so.2
  • lib/libSDL2_sound.so.2.0.4
  • libdata/pkgconfig/SDL2_sound.pc
distinfo 1
FileSizeSHA256
icculus-SDL_sound-v2.0.4_GH0.tar.gz4609946f8b324ce23382929ab90ded7fcd6e303b66cb22b4e15b4e3c3a99f500a4eec1