I'm playing a m4a format sound in my android device, I both use MediaPlayer
and SoundPool
and set volume to the same value, but sounds different!
MediaPlayer mediaPlayer = new MediaPlayer();
mediaPlayer.setVolume(1, 1);
...start to play...
SoundPool mSoundPool = new SoundPool(5, AudioManager.STREAM_MUSIC,5);
steamID...
mSoundPool.setVolume(steamID, 1, 1);
What's wrong?