sfxMixerTT-PSP

From GameBrew
sfxMixerTT-PSP
Psppc02.png
General
AuthorVille Helin (ttsuras)
TypeDevelopment Libraries
Version1.0
LicenseLGPL
Last Updated2007/05/19
Links
Download
Website
Source

sfxMixerTT-PSP is a SFX mixing library. Currently it can mix 44100Hz raw mono 16bit samples.

User guide

Throw this into your PSP homebrew project, and adjust:

  • Adjust and add SFX IDs to the ID list in sound.h.
  • Add the corresponding 44100Hz, raw, mono, 16bit samples to the sfxs array in sound.c..
  • Remove all references to mp3player, if you are not using it.

You can have eight SFX samples playing concurrently, but feel free to reserve more hardware channels.

Now, when your program starts, call soundInit(). And when you want to play a SFX, call soundPlaySFX().

Changelog

v1.0 2007/05/19

  • The initial release.

External links

Advertising: