UI sounds not working #352

Closed
ziekke opened this Issue Jul 22, 2016 · 9 comments

Comments

Projects
None yet
4 participants
@ziekke

ziekke commented Jul 22, 2016

I have enabled UI sounds (keyboard, lock, charging) but they don't work. Phone is not silent and they are enabledin settings.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jul 23, 2016

Contributor

I have a feeling that this doesn't work in AOSP. Someone needs to confirm that this is a CopperheadOS issue.

Contributor

thestinger commented Jul 23, 2016

I have a feeling that this doesn't work in AOSP. Someone needs to confirm that this is a CopperheadOS issue.

@ziekke

This comment has been minimized.

Show comment Hide comment
@ziekke

ziekke Jul 23, 2016

Not sure how I can check this but if I could I would!

ziekke commented Jul 23, 2016

Not sure how I can check this but if I could I would!

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jul 23, 2016

Contributor

Building AOSP and checking if the problem is there too.

Contributor

thestinger commented Jul 23, 2016

Building AOSP and checking if the problem is there too.

@Rudd-O

This comment has been minimized.

Show comment Hide comment
@Rudd-O

Rudd-O Jul 24, 2016

I can confirm that keyboard sounds in lockscreen and charger connected sounds are not working. Sounds do work in the Sound & notification preferences panel.

Rudd-O commented Jul 24, 2016

I can confirm that keyboard sounds in lockscreen and charger connected sounds are not working. Sounds do work in the Sound & notification preferences panel.

@Rudd-O

This comment has been minimized.

Show comment Hide comment
@Rudd-O

Rudd-O Jul 24, 2016

I am using the very latest build available right now, installed it 30 minutes ago.

Rudd-O commented Jul 24, 2016

I am using the very latest build available right now, installed it 30 minutes ago.

@Rudd-O

This comment has been minimized.

Show comment Hide comment
@Rudd-O

Rudd-O Jul 24, 2016

Notification sounds do happen when the phone is locked.

Rudd-O commented Jul 24, 2016

Notification sounds do happen when the phone is locked.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jul 24, 2016

Contributor

It needs to be confirmed that this is a CopperheadOS issue rather than an AOSP issue.

Contributor

thestinger commented Jul 24, 2016

It needs to be confirmed that this is a CopperheadOS issue rather than an AOSP issue.

@stellirin

This comment has been minimized.

Show comment Hide comment
@stellirin

stellirin Jul 27, 2016

I noticed this too when I build using marshmallow-dr1.6-release apparently based on android-6.0.1_r54. I've been building AOSP against android-6.0.1_r46 and previous releases without issue.

I'll try a pure AOSP build with the same tag. FWIW I get this in logcat when I tap the app drawer button on the home screen:

07-27 20:40:41.849: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.849: E/SoundPool(891): Unable to load sample
07-27 20:40:41.849: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.850: E/SoundPool(891): Unable to load sample
07-27 20:40:41.850: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: W/AudioService(891): onLoadSoundEffects(), Error -10000 while loading samples
07-27 20:40:41.852: W/MessageQueue(891): Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
07-27 20:40:41.852: W/MessageQueue(891): java.lang.IllegalStateException: Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.enqueueMessage(Handler.java:631)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessageAtTime(Handler.java:600)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessageDelayed(Handler.java:570)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessage(Handler.java:507)
07-27 20:40:41.852: W/MessageQueue(891):    at android.media.SoundPool.postEventFromNative(SoundPool.java:532)
07-27 20:40:41.854: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.854: E/SoundPool(891): Unable to load sample

I noticed this too when I build using marshmallow-dr1.6-release apparently based on android-6.0.1_r54. I've been building AOSP against android-6.0.1_r46 and previous releases without issue.

I'll try a pure AOSP build with the same tag. FWIW I get this in logcat when I tap the app drawer button on the home screen:

07-27 20:40:41.849: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.849: E/SoundPool(891): Unable to load sample
07-27 20:40:41.849: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.850: E/SoundPool(891): Unable to load sample
07-27 20:40:41.850: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.851: E/SoundPool(891): Unable to load sample
07-27 20:40:41.851: W/AudioService(891): onLoadSoundEffects(), Error -10000 while loading samples
07-27 20:40:41.852: W/MessageQueue(891): Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
07-27 20:40:41.852: W/MessageQueue(891): java.lang.IllegalStateException: Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.enqueueMessage(Handler.java:631)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessageAtTime(Handler.java:600)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessageDelayed(Handler.java:570)
07-27 20:40:41.852: W/MessageQueue(891):    at android.os.Handler.sendMessage(Handler.java:507)
07-27 20:40:41.852: W/MessageQueue(891):    at android.media.SoundPool.postEventFromNative(SoundPool.java:532)
07-27 20:40:41.854: E/NdkMediaExtractor(891): sf error code: -1010
07-27 20:40:41.854: E/SoundPool(891): Unable to load sample
@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Sep 1, 2016

Contributor

This is fixed in the nougat-release branch, since it's not a problem upstream there.

Contributor

thestinger commented Sep 1, 2016

This is fixed in the nougat-release branch, since it's not a problem upstream there.

@thestinger thestinger closed this Sep 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment