Difference between revisions of "SDL sound"

From CBLFS
Jump to navigationJump to search
 
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.1.tar.gz
+
| http://icculus.org/SDL_sound/downloads/SDL_sound-{{SDL_sound-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|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.|http://icculus.org/SDL_sound/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 11: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[SDL]]
 
* [[SDL]]
=== Recommended ===
 
* [[Package three]]
 
* [[Package four]]
 
 
=== Optional ===
 
=== Optional ===
 
* [[FLAC]]
 
* [[FLAC]]
Line 71: Line 70:
  
 
  make install
 
  make install
 +
 +
[[Category:Media Libraries]]

Latest revision as of 15:32, 19 March 2009

Download Source: http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz

Introduction to SDL sound

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.

Project Homepage: http://icculus.org/SDL_sound/

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install