1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/audio/sdl2_sound/pkg-descr
Dmitry Marakasov 7059a13adc audio/sdl2_sound: add port: Abstract SDL soundfile decoder
- Add the latest version of sdl_sound with support for
  USE_SDL=sound2.
- Note that this is sdl2-only library, so audio/sdl_sound,
  which is sdl1-only library, remains in the tree and is
  not affected. I've had to rename playsound binary this
  port also installs to avoid the conflict.
- The library now contains all the decoder code, so no external
  depends and options are needed any longer. I've added MIDI
  option though, since upstream has it disabled by default due
  to different license.
2022-03-31 21:36:12 +03:00

15 lines
762 B
Plaintext

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.
WWW: https://icculus.org/SDL_sound/
WWW: https://github.com/icculus/SDL_sound