forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
cools



Joined: 04 Mar 2006
Posts: 46

PostPosted: Sun Oct 22, 2006 8:16 am    Post subject: Lua Player .20 Mod 3 "MP3 and OGG!" Reply with quote

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:[url]http://gabe.xw-h.com/shakil/Lua Player Mod 3 1.5.zip[/url]
1.00_2.xx:[url]http://gabe.xw-h.com/shakil/Lua Player Mod 3 1.00_2.xx.zip[/url]
Source:[url]http://gabe.xw-h.com/shakil/Lua Player Mod 3 Source.7z[/url]

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![url][/url]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group