No media sound in Android apps. How to reset Android sound system?
Since some time I've no audio anymore in Android apps. E.g. Frozen Bubble is silent, there's no sound from video clips in Firefox for Android, et. Weird thing is, when I set voice guidance output in OsmAnd~ to use notification audio instead of media audio, it does work.
This might be the same as this bug, and I too tried muting/unmuting using Android apps, connecting to bluetooth audio, etc. but no change.
Now I reckon these parameters must be stored somewhere. But where? How to reset Android's audio routing and/or volumes?
[edit]
I've used the pacmd
cli command to dump some information while playing Android audio. The outputs of pacmd stat
, pacmd info
, pacmd dump
, pacmd dump-volume
and pacmd list-sinks
are here.
[edit2] No change after updating to 1.1.4.28. Not that I expected any change based on the changelog. The issue remains.
[edit 2015-07-15] Just updated to 1.1.7.24. I was hoping that the audio got fixed with the update to PulseAudio 6, but unfortunately it didn't. Android notification sounds still get through (unless phone is set to silence, which makes sense) but normal sound is just silent.
There must be some audio routing for Alien Dalvik somewhere. But where? It's getting annoying :( But resetting the device is even more annoying.
[edit 2017-01-10] Problem still persists, even on 2.0.5.
I've grabbed a bit of logcat, when starting and pauzing an Android app that used to produce sound:
E/ALSADevice( 989): setFmVolume:: ! mIsFmEnabled
D/ACDB-LOADER( 989): ACDB -> send_audio_cal, acdb_id = 14, path = 0
D/ACDB-LOADER( 989): ACDB -> send_adm_topology
D/ACDB-LOADER( 989): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 989): ACDB -> send_audtable
D/ACDB-LOADER( 989): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 989): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 989): ACDB -> send_audvoltable
D/ACDB-LOADER( 989): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
D/ACDB-LOADER( 989): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 989): ACDB -> AUDIO_SET_AFE_CAL
D/AudioStreamOutALSA( 989): standby
E/ALSADevice( 989): standby handle h 0x41f00db8
E/ALSADevice( 989): Number of modifiers 0
E/ALSADevice( 989): usecase_type is 0
D/AudioUsbALSA( 989): exitPlaybackThread, mproxypfdPlayback: -1
If you have call recorder installed, stop the daemon and sound will work in all android apps. ;-)
tvicol ( 2015-07-15 20:03:41 +0200 )editYes, I have call recorder installed and active. But disabling it doesn't help :( Tried restarting the device too, after disabling the daemon.
Fuzzillogic ( 2015-07-15 21:12:42 +0200 )edit