Omeya / a2dpvolume

Automatically exported from code.google.com/p/a2dpvolume
0 stars 0 forks source link

Restart music after reading text message #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After a text message has been read, restart the music player. Or mute music 
while reading message and unmute when done.

Original issue reported on code.google.com by Anton...@gmail.com on 25 Aug 2011 at 7:40

GoogleCodeExporter commented 9 years ago
Fixed in 2.3.2.  It is available for download on this website.  Please try it 
out and let me know if you have any issues.

Original comment by JimR...@gmail.com on 25 Aug 2011 at 10:09

GoogleCodeExporter commented 9 years ago
Still working on some improvements in this area.  If your device supports using 
Bluetooth SCO while not in call, 2.3.2 should work fine.  I tested it with 
Droid 3 and it worked great.  Working on making it more robust now.  I may end 
up with a configuration to select what stream you want to hear the texts on.  
Hoping I can do without that.   Also, when SCO is supported, the delay is not 
needed so I may reduce or eliminate that.

Original comment by JimR...@gmail.com on 25 Aug 2011 at 10:27

GoogleCodeExporter commented 9 years ago
I need testers for 2.3.3 that addresses this and other issues.  I need to know 
how this works on a variety of phones and Bluetooth receivers.  I added a TTS 
reader delay configuration in the preferences too.  Please download 2.3.3 and 
help me test.  Report any issue to this issues list.

Original comment by JimR...@gmail.com on 28 Aug 2011 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by JimR...@gmail.com on 28 Aug 2011 at 9:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Getting closer.  It works fine now on Droid 3 but not Droid 2 and not with 
Amazon MP3 player or Winamp.  On those other players it will mute the stream OK 
but then it does not unmute until the player is paused, restarted, basically 
any interaction brings it back. 

I think I may need to send a broadcast to pause/resume.  Here is what the music 
player looks like:
http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=blob;f=src/c
om/android/music/MediaPlaybackService.java;h=7c0bbedbedef49bf4c38ef97fdcd0f1017b
f5d35;hb=HEAD
 This player looks for the AUDIOFOCUS_GAIN intent and then resumes using startAndFadeIn().  I am now using transient audio focus gain so the default music player will resume properly.  Others don't.

I also noticed that my T605 car kit starts in phone mode instead of A2DP mode 
after playing the SMS.  I do turn SCO OFF again after the text but that does 
not automatically switch the T605 back to A2DP mode.  Maybe I need to manually 
switch it back if it was in A2DP prior.  Not sure how yet but will investigate.

Just wanted to give an update. 

Original comment by JimR...@gmail.com on 29 Aug 2011 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by JimR...@gmail.com on 31 Aug 2011 at 10:15

GoogleCodeExporter commented 9 years ago
Fixed in 2.3.7.  At least as much as I can fix it for now.  It works with the 
default music player fine.  Other players may not.  I tested with Droid 2 and 
Droid 3 using both the default music player and Amazon MP3 player.  Both worked 
fine.  

Original comment by JimR...@gmail.com on 4 Sep 2011 at 3:46

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 8294ba226b75.

Original comment by JimR...@gmail.com on 4 Sep 2011 at 3:52