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 

How to check is XMB Music player is playing?

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



Joined: 28 May 2008
Posts: 842

PostPosted: Wed Jul 09, 2008 10:55 pm    Post subject: How to check is XMB Music player is playing? Reply with quote

How do I check is music is currently playing in the XMB player?
I understand that there might not be a 100% reliable way to do the above because its probably completely software controlled, but anyways..
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Thu Jul 10, 2008 12:02 am    Post subject: Reply with quote

well i don't know the details, but the solution might be always the same: hook the player module's functions that start/stop music with fake ones like

Code:
newFunctionA()
{
   signalFunctionACalled();
   functionA(); // call old function
}


...just the idea for it...if you ask me how to do it,....well i'm still having headaches with my projects using this technique.
To start you could take a look into pikey sources; then, remember to always hook kernel functions with kernel functions and so on...
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Thu Jul 10, 2008 12:04 am    Post subject: Reply with quote

arghhh!! doublepost! sorry.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Thu Jul 10, 2008 3:07 am    Post subject: Reply with quote

Thanks but I no longer need to check the music player, I found another way to do what I want.
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 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