xbmc/xbmc — pull request #1548 by DDDamian (2012-10-05 21:53:42+00:00)
Title: [AE] Allow sink to decide how or if it can be suspended

Abstract softSuspend/Resume to sink to let it pre-process or decline a Suspend state.

This replaces previous behaviour of destroying the sink on suspend and allows the sink to shitdown gracefully or decline, as well as force a re-init on Resume if required.

Written in light of reported issue with ALSA and Droid sinks on suspend. WASAPI has been implemented here - other platform help requested!