Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 08, 2012, 06:20:37 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Join our IRC channel: ##psp-programming on freenode
Home Help Search Shop Login Register
Digg This!
Pages: [1]
Print
Author Topic: [C/Lua?] Media Engine MP3 Playback module for LuaPlayer 0.20 (beta)  (Read 2098 times)
jsharrad
Developer
Global Moderator
Hero Member
*

Karma: +44/-1
Offline Offline

Posts: 613
1170.44 points

View Inventory
Send Money to jsharrad

Yarr!


View Profile WWW
« on: June 14, 2007, 09:59:46 AM »

I'm lazy, so I'll let the readme do the talking... Razz

Download

ME MP3 Library by jsharrad
--------------------------
To load and initialize:
   music = loadlib ("memp3", "init")
   --then make sure it actually loaded
   if music then music() end

Functions:
   Memp3.play("filename.mp3")
   Memp3.stop()

---------------------------------------
--   ID3 TAGS ARE NOT SUPPORTED YET  --
---------------------------------------

If your mp3 has a tag, it won't play.

No variable bitrate mp3s yet either.

subdirs are allowed, just use
   Memp3.play("subdir/filename.mp3")

All work is done by the PSP's ME processor
and the threads created by memp3.lrx.


Credits to cooleyes and dark_alex at ps2dev
as this code is based on cooleyes decoder
and dark_alex's atrac3 player

Also, thanks Metallica for the awesome version
of Star Wars Imperial March, used to test it Wink

If you have your own luaplayer v0.20 that you want to use this module with, you'll have to patch the bootstrap loader with this patch (right click and save as...), then copy to the bootstrap directory and execute the following
Code:
cat bootstrap.patch | patch -p0

Download

Enjoy
Logged

MinerPSP Coder
MinerPSP Website


Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.198 seconds with 24 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com