Giter Site home page Giter Site logo

parhelia512 / sdl_sound Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icculus/sdl_sound

0.0 0.0 0.0 3.77 MB

An abstract soundfile decoder.

Home Page: https://icculus.org/SDL_sound/

License: Other

C++ 0.19% C 98.67% Makefile 0.06% CMake 1.07%

sdl_sound's Introduction

SDL_sound

SDL_sound; an abstract soundfile decoder.

What is this?

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.

Please check the website for the most up-to-date information about SDL_sound:

https://icculus.org/SDL_sound/

SDL_sound REQUIRES Simple Directmedia Layer (SDL) 2.x to function, and cannot be built without it. You can get SDL from https://www.libsdl.org/

Current versions of SDL_sound do not use any external libraries for decoding various file formats. All needed decoder source code is included with the library. Unless explicitly disabled during initial build configuration, SDL_sound always supports the following file formats internally:

  • Wave (.WAV) files
  • MPEG-1 layers I-III (.MP3, .MP2, .MP1)
  • Ogg Vorbis (.OGG) files
  • Free Lossless Audio Codec (.FLAC) files
  • Audio Interchange format (.AIFF) files
  • Sun/NeXT Audio (.AU) files
  • Shorten (.SHN) files
  • Creative Labs Voice (.VOC) files
  • Various "module" formats (.MOD, .669, .AMF, .XM, .IT, .S3M, .STM, etc)
  • MIDI (.mid) files
  • Raw PCM data
  • (macOS/iOS only) anything that CoreAudio can decode.

Building/Installing:

Please read docs/INSTALL.txt.

Reporting bugs/commenting:

Please visit https://github.com/icculus/SDL_sound/issues for the bug tracker.

sdl_sound's People

Contributors

alicelr avatar berolinux avatar ccawley2011 avatar dasperal avatar ericoporto avatar fingolfin avatar icculus avatar madebr avatar mrcsnm avatar sezero avatar slouken avatar superzazu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.