It could be the master volume. Make sure you let the OS handle the
master volume using
Activity.setVolumeControlStream( AudioManager.STREAM_MUSIC );
From there what I do is have a relative volume per effect. The thing
is that you don't hold the master volume so you need to get it from the
OS. I do this.
public float makeVolume( float fRelVolume )
{
AudioManager audioManager =
(AudioManager)m_Activity.getSystemService( Context.AUDIO_SERVICE );
int masterVolume = audioManager.getStreamVolume(
AudioManager.STREAM_MUSIC );
return ((float)masterVolume / 15.0f) * fRelVolume;
}
Leigh
On 8/20/2010 12:06 PM, Neilz wrote:
Anyone any thoughts on this?
On Aug 18, 6:46 pm, Neilz<[email protected]> wrote:
Hi all.
A common complaint with my app is that the sound is too low. I don't
know what I can do to improve this.
- I use SoundPool, and believe I am setting each sound to its maximum
volume
- I edit my sound files in Audacity, and use the normalization/
amplification tools to maximize them to as much as I can before they
start to cause popping/crackling.
- They are saved and played back as ogg files.
I don't know anything else I can do? Any ideas please?
--
Leigh McRae
www.lonedwarfgames.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en