Prepare the MediaPlayer to survive a media_server restart, by first

making it detect the quit/start of the media_server and media_addon_server.
No action is currently taken in response to this, but the SoundOutput used
by the Controller needs to be recreated I would think.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24573 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-03-25 14:12:21 +00:00
parent 2b1003a09a
commit df542f717f
3 changed files with 117 additions and 11 deletions
+8
View File
@@ -328,6 +328,14 @@ MainWin::MessageReceived(BMessage *msg)
_RefsReceived(msg);
break;
case M_MEDIA_SERVER_STARTED:
// fController->...
break;
case M_MEDIA_SERVER_QUIT:
// fController->...
break;
// PlaylistObserver messages
case MSG_PLAYLIST_REF_ADDED: {
entry_ref ref;