More actions
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
* PSP-Programming.com Forums - http://www.psp-programming.com/forums/index.php?topic=2426.0 | * PSP-Programming.com Forums - http://www.psp-programming.com/forums/index.php?topic=2426.0 | ||
* QuickJump - http://forums.qj.net/psp-development-forum/111054-release-media-engine-mp3-playback-module-luaplayer-0-20-beta.html | * QuickJump - http://forums.qj.net/psp-development-forum/111054-release-media-engine-mp3-playback-module-luaplayer-0-20-beta.html | ||
[[Category:Lua applications on PSP]] | [[Category:Lua applications on PSP]] |
Latest revision as of 08:52, 24 October 2024
ME MP3 Library | |
---|---|
General | |
Author | jsharrad |
Type | Development |
Version | 2007 |
License | Mixed |
Last Updated | 2007/06/14 |
Links | |
Download | |
Website | |
Source | |
Media Engine MP3 Playback module for LuaPlayer 0.20.
User guide
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, use
Memp3.play("subdir/filename.mp3")
All work is done by the PSP's ME processor and the threads created by memp3.lrx.
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 bootstrap.patch, then copy to the bootstrap directory and execute the following
cat bootstrap.patch | patch -p0
Credits
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.