📄 ds3dutil.h
字号:
#ifndef DS3DUTIL_HEADER
#define DS3DUTIL_HEADER
/*==========================================================================
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
* File: ds3dutil.h
* Content: Header file prototyping routines for dealing with
* sounds from resources. Much of this stuff
* (especially the wave file parsing code) is copied
* from dsutil.cpp
*
*
***************************************************************************/
#include <dsound.h>
typedef struct
{
LPDIRECTSOUNDBUFFER lpDirectSoundBuffer;
LPTSTR lpName;
LPDIRECTSOUND lpDS;
}
WAVEDATA, *LPWAVEDATA;
BOOL WaveInit(LPWAVEDATA *lplpWD, LPDIRECTSOUND lpDS, LPCTSTR lpName);
BOOL WaveGetBuffers (LPWAVEDATA lpWD, LPDIRECTSOUNDBUFFER *ppDirectSoundBuffer,
LPDIRECTSOUND3DBUFFER *ppDirectSound3DBuffer);
void WaveFree(LPWAVEDATA lpWD);
BOOL WaveReload(LPWAVEDATA lpWD);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -