Change audio volume

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Change audio volume

Post by jojojoris »

Is is possible to change the audio vollume like when you press one of the vollume buttons?

if Yes: How can i do it?


PS. I searshed this whole forum but the only solution someone said was by emulating key-presses. If that's possible, can someone say how that works?

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
User avatar
hotter
Posts: 53
Joined: Sun Dec 07, 2008 8:49 pm

Post by hotter »

I think the main volume is saved in the registry. Try searching in it.
Pragramming with:
Microsoft Visual C 2008 + pspsdk MINPSPW 0.8.10
MBx
Posts: 35
Joined: Sun Mar 22, 2009 12:52 am

Post by MBx »

an out of topic question,

is it possible to increase the volume more than it is possible by using keys?
steffven
Posts: 28
Joined: Mon May 19, 2008 7:37 pm

Re: Change audio volume

Post by steffven »

jojojoris wrote:Is is possible to change the audio vollume like when you press one of the vollume buttons?

if Yes: How can i do it?


PS. I searshed this whole forum but the only solution someone said was by emulating key-presses. If that's possible, can someone say how that works?
http://psp.jim.sh/pspsdk-doc/pspaudioli ... 1fd86a5c77

I think pspAudioSetVolume (int channel, int left, int right) is what you searched for.

This is how to set the volume,
but anyone knows how to get the current volume?
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

I found a solution yesterday.

Simple change the value in the registry.

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Post Reply