Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
C Perl Assembly C++ Racket Objective-C Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
PS3 SOUNDLIB ============ PS3 SOUNDLIB is a set of libraries to play PCM voices, MP3 and OGG files, using one SPU. NOTE: this repository is update to the last compilers and PSL1GHT libraries.. NOTE: this lib needs tiny3D It uses PSL1GHT and install the libraries in PSL1GHT/target/lib, C Header files in PSL1GHT/target/include and SPU module in PSL1GHT/modules to work - Voices can be in 8 and 16 bits (signed) format, Mono or Stereo. - Voices can adjust a delay time, left and right volume, and can be one shot, infinite or updated with one callbak (to work in double buffer) Credits ------- Hermes - Author HACKERCHANNEL - PSL1GHT Xiph.Org - OGG support mpg123 project - MP3 support Wargio/deroad - PSL1GHT V2 Port License ------- It is licensed under GPL v3 Environment ----------- spu_soundmodule.bin -> SPU Module. Frequency converter / mixer of 16 voices libspu_sound.a / spu_soundlib.h -> Sound Voices management libaudioplayer.a / audioplayer.h -> MP3 / Ogg player / decoder liboggplayer.a / audioplayer.h -> Ogg player / decoder libogg.a -> Ogg library libmpg123.a -> MP3 library NOTE1: spu_soundlib.h and audioplayer.h contain the functions descriptions NOTE2: spu_sound uses a background thread to work with the SPU NOTE3: audioplayer uses other background voice to play MP3/OGG files (except when you uses Decode function) Building -------- You need the environment variable $PSL1GHT defined cd ps3soundlib make It makes and install SPU module, libs and includes Current Status -------------- It works with one sample (fireworks) :)