views:

52

answers:

1

I playing a sound file with a custom player, when the mobile goes in suspend mode (because the user pushed the red button) I would like to resume sound intensity when the mobile resume. How can I do ?

A: 

You can set the volume by opening the waveOut device and setting the volume. This will affect all sound playback:

waveOutOpen

waveOutSetVolume

BitBank