ScummVM API documentation
midi.h
1
2
/* ScummVM - Graphic Adventure Engine
3
*
4
* ScummVM is the legal property of its developers, whose names
5
* are too numerous to list here. Please refer to the COPYRIGHT
6
* file distributed with this source distribution.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef M4_SOUND_PLATFORM_MIDI_H
24
#define M4_SOUND_PLATFORM_MIDI_H
25
26
#include "m4/m4_types.h"
27
28
namespace
M4
{
29
namespace
Sound {
30
31
class
Midi
{
32
public
:
33
void
midi_play(
const
char
*name,
int
volume,
int
loop,
int
trigger,
int
roomNum);
34
void
task();
35
void
loop();
36
void
stop();
37
void
set_overall_volume(
int
vol);
38
};
39
40
}
// namespace Sound
41
42
void
midi_play(
const
char
*name,
int
volume,
int
loop,
int
trigger,
int
roomNum);
43
void
midi_loop();
44
void
midi_stop();
45
void
midi_set_overall_volume(
int
vol);
46
void
midi_fade_volume(
int
val1,
int
val2);
47
48
}
// namespace M4
49
50
#endif
M4::Sound::Midi
Definition:
midi.h:31
M4
Definition:
database.h:28
engines
m4
platform
sound
midi.h
Generated on Fri Nov 15 2024 09:09:48 for ScummVM API documentation by
1.8.13