?? mrsoundplayer.h
字號:
/* 'mrSoundPlayer.h' */
/* Mirus base types header */
#include "mrDatatypes.h"
/* Mirus error definitions header */
#include "mrError.h"
/* Windows header file */
#include <windows.h>
/* Direct Music header file */
#include <dsound.h>
/* Assert header file */
#include <assert.h>
/* Include this file only once */
#pragma once
/* Mirus Sound Player class */
class mrSoundPlayer
{
protected:
/* DirectSound objects */
LPDIRECTSOUND8 m_lpkDSound;
/* Singleton */
static mrSoundPlayer * m_pkSingleton;
public:
/* Constructors / Destructor */
mrSoundPlayer (void);
~mrSoundPlayer (void);
/* Sound player manipulation routines */
mrError32 Init (HWND hWindow);
/* Sound player maintenance routines */
LPDIRECTSOUND8 GetSound (void);
/* Singleton */
static mrSoundPlayer * GetSingleton (void);
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -