A while ago I posted a topic in the forum at
http://groups.google.com/group/android-developers/browse_thread/thread/a9aab3fff5643eff/4217295b230cc16b?hl=en#4217295b230cc16b
titled
"Google Maps Broadcast Event for audible navigation instructions start
and stop?"

For some reason I am not longer able to reply on that topic, so I will
start a new post with my further input.

I noticed that in the newer Android versions the system will now
automatically mute audio streams while some types of audio
notifications are playing.  This is a nice solution for many types of
audio.  For music players this works well.

My audio application is an audiobook player.  The reason that I had
posted the original topic about the ability to get a notification when
other audio needs to play, is because for an audiobook, muting the
audio isn't a very good solution.  People miss part of the dialog of
the audiobook while it is muted.

I now have customers writing to me and complaining that it skips part
of their audiobook when other notifications play.  It appears to be
skipping to the listener because the audiobook continues to play but
is muted while the other audio notification plays.

Is there a way for my application to get a notification when its audio
stream gets muted and unmuted?

This notification would allow the application to pause the playback in
the audiobook where another audio notification started to play and the
audiobook sound was muted.  Then later getting an unmuted notification
when the interrupting audio finishes playing would allow the audiobook
player to resume playing at the correct position in the book.

This functionality would be useful for any non-music audio or video
application to allow it to pause the pod cast, movie, audiobook, or
whatever is playing until the audio interruption has finished.

The new ability to mute the audio from the lock screen also only
really works well for music type applications.  For other non-music
applications such as my audiobook player, I would like to know that
the sound has stopped so I can stop at the current location in the
audiobook.

I may want to back up the audiobook playback position a few seconds
when the stream is "unmuted", so having the system automatically pause
my media player without giving me a notification would not be as good
of a solution as providing a notification that my stream is being
muted and unmuted.

Please let me know if there is a way to be notified when my audio
stream is muted or unmuted.

-- 
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

Reply via email to