| View previous topic :: View next topic |
| Author |
Message |
katsumoto
Joined: 27 Jul 2006 Posts: 5
|
Posted: Thu Jul 27, 2006 6:35 am Post subject: Audio files in PSP |
|
|
Hello,
i would like to know how to set the position of a stream using libmad:
how to rewind, go forward, set position etc..
I would like also how to load a wave file and play it! Thanks much for the help! |
|
| Back to top |
|
 |
ADePSP
Joined: 13 Jul 2006 Posts: 58
|
Posted: Thu Jul 27, 2006 6:53 am Post subject: |
|
|
| So would I... If anyone knows how to control the volume so you could do fade out effects that would be great too... |
|
| Back to top |
|
 |
katsumoto
Joined: 27 Jul 2006 Posts: 5
|
Posted: Thu Jul 27, 2006 7:42 am Post subject: |
|
|
the volume is simple to manage, just use
the max value of volume is 0x8000
in pspaudiolib.h
pspAudioSetVolume(channel, volume left, volume right); |
|
| Back to top |
|
 |
ADePSP
Joined: 13 Jul 2006 Posts: 58
|
Posted: Thu Jul 27, 2006 9:08 am Post subject: |
|
|
| katsumoto wrote: | the volume is simple to manage, just use
the max value of volume is 0x8000
in pspaudiolib.h
pspAudioSetVolume(channel, volume left, volume right); |
Cool, I imagine there is a pspAudioGetVolume too so I can set the volume back to the user's preference when I exit...
Thanks man...
ADe |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Thu Jul 27, 2006 10:59 pm Post subject: |
|
|
| ADePSP wrote: | | katsumoto wrote: | the volume is simple to manage, just use
the max value of volume is 0x8000
in pspaudiolib.h
pspAudioSetVolume(channel, volume left, volume right); |
Cool, I imagine there is a pspAudioGetVolume too so I can set the volume back to the user's preference when I exit...
Thanks man...
ADe |
Well, actually there isn't any volume getting function...
Look at:
http://forums.ps2dev.org/viewtopic.php?t=4394&highlight= |
|
| Back to top |
|
 |
|