Lua Player .20 Mod 3 "MP3 and OGG!"

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
cools
Posts: 46
Joined: Sat Mar 04, 2006 12:57 pm

Lua Player .20 Mod 3 "MP3 and OGG!"

Post by cools »

Lua Player Mod 3 by cools
10/21/2006

Well here it is! Lua Player Mod 3!
This version includes playback for MP3 and Ogg. It works!

Links: 1.5:http://gabe.xw-h.com/shakil/Lua Player Mod 3 1.5.zip
1.00_2.xx:http://gabe.xw-h.com/shakil/Lua Player ... 0_2.xx.zip
Source:http://gabe.xw-h.com/shakil/Lua Player Mod 3 Source.7z

New Functions:

______________

MP3
______________


Most Mp3 functions are self explanetory.
Mp3.load()
Mp3.stop()
Mp3.pause()
Mp3.play()
Mp3.getTime() --returns how long the mp3 has been playing in a string

Mp3.EndOfStream() --returns "true" or "false" (with quotes). You can use it like this:
if Mp3.EndOfStream() == "true" then songend() end
______________

OGG
______________

Most Ogg functions are self explanetory.
Ogg.init(channel) --Select an audio channel for Ogg playback (like 0, 1, 2, etc.)
Ogg.load()
Ogg.stop()
Ogg.pause()
Ogg.play()

Ogg.EndOfStream() --returns "true" or "false" (with quotes). You can use it like this:
if Ogg.EndOfStream() == "false" then whatever end

Ogg.getSec()
Ogg.getMin()
Ogg.getHour()




Functions from the prevoius releases:
______________

SYSTEM & 3D
______________

System.Quit()
Gum.lookAt()

______________

NETLIB
______________

Also there are the Netlib Functions included, so your netlib capable games should work!

I removed the over/under clocking because it can be dangerous to use! I almost bricked,
but thanks to youresam for saving my psp!
Post Reply