-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsound.h
More file actions
38 lines (34 loc) · 1.12 KB
/
sound.h
File metadata and controls
38 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//=============================================================================
//
// サウンド処理 [sound.h]
//
//=============================================================================
#pragma once
#include <windows.h>
#include "xaudio2.h" // サウンド処理で必要
//*****************************************************************************
// サウンドファイル
//*****************************************************************************
enum
{
SOUND_LABEL_BGM_sample000, // BGM0
SOUND_LABEL_BGM_sample001, // BGM1
SOUND_LABEL_BGM_sample002, // BGM2
SOUND_LABEL_SE_bomb000, // 爆発音
SOUND_LABEL_SE_defend000, //
SOUND_LABEL_SE_defend001, //
SOUND_LABEL_SE_hit000, //
SOUND_LABEL_SE_laser000, //
SOUND_LABEL_SE_lockon000, //
SOUND_LABEL_SE_shot000, //
SOUND_LABEL_SE_shot001, //
SOUND_LABEL_MAX,
};
//*****************************************************************************
// プロトタイプ宣言
//*****************************************************************************
BOOL InitSound(HWND hWnd);
void UninitSound(void);
void PlaySound(int label);
void StopSound(int label);
void StopSound(void);