Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed: AE suspending was broken resulting in it resuming/suspending o…
…ver and over again (fixes ticket #13508)
- Loading branch information
e0a9d07
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
e0a9d07
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct, this will cause early break-outs as well.
As far as I can tell, m_sounds is just a list of sounds cached for playback, that has nothing to do with the sleep status.
As an example, the startup sound may be loaded for a window, but if we're not currently playing it, it shouldn't block sleeping.
Removing the m_sounds check altogether fixes my looping alsa, I believe that's the correct thing to do.
I have a few other Alsa initialization fixes as well, PR is coming up.
e0a9d07
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theuni - You are correct, m_sounds is indeed just a list of the available sounds, this should not be part of the condition.
e0a9d07
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gnif - think you checked a bit of an old one :) try #2061