xbmc/xbmc — pull request #2904 by fritsch (2013-06-22 11:55:34+00:00)
Title: AE: Make sure to reinit and avoid to have wrong sink after SoftResume()

With current code the following scenario could happen:

User watches video with AC3 sound, presses pause, waits 10 seconds, presses stop. When navigating to next menu item, SoftResume is called, that succesfully calls Initialize (for AC3). All menu sounds are played through AC3 - which sounds not so nice, cause reinit returns true.

Cause of this we have to return false to give a change to call InternalOpenSink again.

Next use case:
SoftAE decides to keep the current sink. In this case we only have to make sure that Initialize is also called.