#include <DSPlayer.h>
Public Member Functions | |
| DSPlayer (void) | |
| ~DSPlayer (void) | |
| bool | loadFile (wstring inFileName) |
| bool | loadFile (wstring inFileName, HWND inWindow, int inLeft, int inTop, int inWidth, int inHeight) |
| bool | play () |
| bool | pause () |
| bool | stop () |
| __int64 | seek (__int64 inTime) |
| __int64 | seekStart () |
| __int64 | queryPosition () |
| bool | isLoaded () |
| __int64 | fileSize () |
| __int64 | fileDuration () |
| bool | setMediaEventCallback (IMediaEventNotification *inMediaEventCallback) |
| IMediaEventNotification * | getMediaEventCallback () |
| bool | checkEvents () |
| void | releaseInterfaces () |
Protected Member Functions | |
| bool | isFileAnnodex (wstring inFilename) |
| wstring | toWStr (string inString) |
Protected Attributes | |
| IGraphBuilder * | mGraphBuilder |
| IMediaControl * | mMediaControl |
| IMediaSeeking * | mMediaSeeking |
| IMediaEvent * | mMediaEvent |
| ICMMLAppControl * | mCMMLAppControl |
| ICMMLCallbacks * | mCMMLCallback |
| IMediaEventNotification * | mMediaEventNotify |
| HANDLE | mEventHandle |
| bool | mIsLoaded |
| GUID | Y_IID_ICMMLAppControl |
| fstream | debugLog |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9