Saturday, March 31, 2012

[android-developers] Re: use of audio streams

You can use STREAM_MUSIC and also request audio focus to try to gain priority.

Doug

On Tuesday, March 27, 2012 8:09:26 AM UTC-7, RedBullet wrote:
I am building an app that will do TTS to read turn by turn directions for navigation.

When I am using a bluetooth headset I turn on SCO and use the STREAM_VOICE_CALL stream.

My question is, when I am NOT using bluetooth and just want to use the phone (optionally speaker) which stream do I use? STREAM_MUSIC or something else?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate