We have an app that plays and records audio using AudioRecord and
AudioTrack, and also uses the 2.2 requestAudioFocus() API for audio
ducking.

We also use the AudioManager.getStreamVolume() call to determine if
the user has their volume control all the way down (as sometimes
happens) and to issue a warning.

Sometimes when recording, playback, and audio focusing is all going on
at the same time or in quick succession, this function returns 0. We
reproduce this via quick repeated presses of the Record button on our
app HeyTell v1.0.7 (it happens one out of about 5 times on a Motorola
Droid).


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to