[xiph-commits] r8081 - trunk/oggdsf/src/lib/plugin/axAnxOggPlayer
illiminable at motherfish-iii.xiph.org
illiminable at motherfish-iii.xiph.org
Sun Oct 24 02:19:37 PDT 2004
Author: illiminable
Date: 2004-10-24 02:19:36 -0700 (Sun, 24 Oct 2004)
New Revision: 8081
Modified:
trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp
trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp
Log:
* Fixed a few uninitialised variables... amazingly it actually works.. plays audio or video, no embedded video window yet.. just press play and pause.. that's it. Also doesn't register CMML or media event callbacks yet.
Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp 2004-10-24 09:15:22 UTC (rev 8080)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp 2004-10-24 09:19:36 UTC (rev 8081)
@@ -44,7 +44,8 @@
{
//PLay button.
debugLog<<"Play button pushed"<<endl;
-
+ mPlayer.loadFile("G:\\a.mp3");
+ mPlayer.play();
}
void CControlDialog::setBrowser(IWebBrowser2* inBrowser) {
@@ -57,6 +58,7 @@
{
//Pause button
debugLog<<"Pause button pushed..."<<endl;
+ mPlayer.pause();
}
void CControlDialog::OnBnClickedButton3()
Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp 2004-10-24 09:15:22 UTC (rev 8080)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/DSPlayer.cpp 2004-10-24 09:19:36 UTC (rev 8081)
@@ -41,6 +41,8 @@
, mMediaSeeking(NULL)
, mMediaEvent(NULL)
, mEventHandle(INVALID_HANDLE_VALUE)
+ , mCMMLCallback(NULL)
+ , mMediaEventNotify(NULL)
//, mDNCMMLCallbacks(NULL)
//, mDNMediaEvent(NULL)
, mCMMLAppControl(NULL)
More information about the commits
mailing list