This needs more information. What class are you using for song1 and song2? If you plan to reuse a song, you should not close() it, you should pause() it. To resume it you call play(). To mute you can use mute() and unmute(). Either setVolume() or setGain() should work and if they are not it might be something up with your system or maybe to do with the class you are using.
↧