diff MMT.cpp @ 2312:4b052671da98

MediaPlayer.cpp
author Ritor1
date Tue, 18 Mar 2014 17:34:26 +0600
parents 8a62bd4d51e2
children 8e9be4fa33a8
line wrap: on
line diff
--- a/MMT.cpp	Mon Mar 17 17:44:32 2014 +0600
+++ b/MMT.cpp	Tue Mar 18 17:34:26 2014 +0600
@@ -12,6 +12,7 @@
 #include "CShow.h"
 #include "GUIFont.h"
 #include "lib/libpng/png.h"
+#include "MediaPlayer.h"
 
 void  ShowLogoVideo()
 {
@@ -181,6 +182,11 @@
 
   pGUIWindow2 = 0;
   pAudioPlayer->StopChannels(-1, -1);//остановить/подготовить канал
+
+  //Media::Player *p = new Media::Player;//создаётся плеер
+  //Media::ITrack *track = p->LoadTrack(L"Sounds\\New_Sounds/Stronghold_Theme.mp3");
+  //track->Play();
+
   pMouse->RemoveHoldingItem();//избавить курсор от вещи
 
   pIcons_LOD->_inlined_sub2();