agusnurdin / roadtoadc

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

Mute other audio while reading #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Use MortPlayer to listen to music (haven't tested this with other apps)

2. If you receive a message or call, the volume of the music will be adjusted 
to the level you selected in SayMyName. This can be very very loud if ringtone 
volume is set to maximum.

3. The music continues to play while SayMyName reads you text message. 

What is the expected output? What do you see instead?
I would expect to music or any to be muted while SayMyName reads something. The 
volume of other volume of other audio should not be adjusted by SayMyName.

What version of the product are you using?
2.5.2

Please provide any additional information below.
I played with the settings trying to find a solution. For example, I enabled 
"play ringtone while reading" and created a ringtone with 10 seeconds silence 
at the end. Didnt help, somehow the music continued to play.
I tried "Change audio routing", but I am not sure what it does exactly. 

Any help would be appreciated.

Using the HTC-Desire default player is not an option for me. 

Original issue reported on code.google.com by sbuer...@gmail.com on 21 Oct 2010 at 10:34

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for your report!

Which Android version does your phone run? 2.2?

Tom

Original comment by tomtasche on 21 Oct 2010 at 5:41

GoogleCodeExporter commented 8 years ago
Yes it is a rooted HTC Desire 2.2 

If you need any more information or if I should try something don't hesitate to 
contact me.

Original comment by sbuer...@gmail.com on 21 Oct 2010 at 6:20

GoogleCodeExporter commented 8 years ago
Mh... Strange thing is that other sound should pause automatically with Android 
2.2.

Please uninstall SayMyName completely, install it again and try again 
afterwards.

Original comment by tomtasche on 21 Oct 2010 at 6:25

GoogleCodeExporter commented 8 years ago
I did a reinstal as you suggested

Same behaviour. I noticed one thing: This problem only occurs with text 
messages. When I call my phone the audio stopps and the ringtone is playing 
while the callers name is read

Original comment by sbuer...@gmail.com on 21 Oct 2010 at 6:50

GoogleCodeExporter commented 8 years ago
Ah, I've got it! :D Enable "Change Audio Routing" in Advanced Settings. :)

Original comment by tomtasche on 21 Oct 2010 at 7:03

GoogleCodeExporter commented 8 years ago
Thanks for the fast reply.

As I wrote before it doesn't help to change the audio routing

There is a (weird) difference:
With "Chance Audio routing" enabled, the ringtone is played and the name is read
Without, the ringtone doesn't even play. Only the reading

In both cases the music continues to play and the volume of the music is 
changed as long as the reading takes.

Original comment by sbuer...@gmail.com on 21 Oct 2010 at 7:17

GoogleCodeExporter commented 8 years ago
That sounds really weird.

A few things you could try:
- Uninstall SayMyName again.
- Install this one: 
http://code.google.com/p/roadtoadc/downloads/detail?name=SayMyName_2.5.3.2.apk
- Don't change any settings except "Bluetooth- / Headset-support"
- If it doesn't work follow these steps: 
http://www.tomtasche.at/p/SayMyName/wiki?id=5#article
- You don't need to wait for a Force Close. Just do it after receiving a SMS / 
call.

Good luck
Tom

Original comment by tomtasche on 21 Oct 2010 at 8:05

GoogleCodeExporter commented 8 years ago
No changes with the version you linked. 
"Bluetooth- / Headset-support" - seems to have the same function as "Change 
audio routing" in original version.

I have sent you the device log using the version you linked.

Original comment by sbuer...@gmail.com on 22 Oct 2010 at 10:36

GoogleCodeExporter commented 8 years ago
Issue 113 has been merged into this issue.

Original comment by tomtasche on 15 Nov 2010 at 4:54