FernetMenta/xbmc — pull request #127 by fritsch (2013-06-22 11:12:02+00:00)
Title: AE: Don't end up unitialized 

Squash to: e4378bde91745b73a2b493a0043c3dee1343557e

Initial Problem:

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

First fix, did not call Initialize at all - therefore AE decided to keep the sink, but this was not correctly setup when playing next song.

Now I call Initialize, but return false. So if AE wants to keep the sink - all fine. If it needs reinitialize also fine, cause of the return of false.