2012-08-28, 08:19
@bossanove808 - that likely won't happen. Addon's are a broad catagory - everything from services to weather to visualizations to scrapers. We can't Suspend/Resume for every addon the way we can with external players.
Imagine listening to music and checking the weather - only to have the audio stop and streams lost. Now imagine the same scenario when a visualizations starts!
Forgive me - not sure what addon you are referring to. If it's in a defined addon class where it makes sense to stop XBMC's audio when launching that class it *may* be do-able.
Let me know, and I'll also ask around the team (although I'm doubtful) about if we can expose a trigger to a Python script which the main app can watch for and enter Suspend/Resume that way.
Otherwise the only way that would work is using DirectSound or <streamsilence>0 if you're using audio external to XBMC but still want to use WASAPI.
Imagine listening to music and checking the weather - only to have the audio stop and streams lost. Now imagine the same scenario when a visualizations starts!
Forgive me - not sure what addon you are referring to. If it's in a defined addon class where it makes sense to stop XBMC's audio when launching that class it *may* be do-able.
Let me know, and I'll also ask around the team (although I'm doubtful) about if we can expose a trigger to a Python script which the main app can watch for and enter Suspend/Resume that way.
Otherwise the only way that would work is using DirectSound or <streamsilence>0 if you're using audio external to XBMC but still want to use WASAPI.