| View previous topic :: View next topic |
| Author |
Message |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Mar 30, 2009 3:27 am Post subject: Change audio volume |
|
|
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: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
hotter

Joined: 07 Dec 2008 Posts: 53
|
Posted: Mon Mar 30, 2009 4:39 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
MBx
Joined: 22 Mar 2009 Posts: 35
|
Posted: Mon Mar 30, 2009 6:49 am Post subject: |
|
|
an out of topic question,
is it possible to increase the volume more than it is possible by using keys? |
|
| Back to top |
|
 |
steffven
Joined: 19 May 2008 Posts: 28
|
Posted: Tue Mar 31, 2009 10:58 pm Post subject: Re: Change audio volume |
|
|
| 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/pspaudiolib_8h.html#a793d0e240f59c0fb97c571fd86a5c77
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? |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Wed Apr 01, 2009 12:48 am Post subject: |
|
|
I found a solution yesterday.
Simple change the value in the registry. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
|