ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sound.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 //=============================================================================
23 //
24 // SOUNDCLIP factory methods.
25 //
26 //=============================================================================
27 
28 #ifndef AGS_ENGINE_MEDIA_AUDIO_SOUND_H
29 #define AGS_ENGINE_MEDIA_AUDIO_SOUND_H
30 
31 #include "ags/engine/ac/asset_helper.h"
32 #include "ags/engine/media/audio/sound_clip.h"
33 
34 namespace AGS3 {
35 
36 SOUNDCLIP *my_load_wave(const AssetPath &asset_name, bool loop);
37 SOUNDCLIP *my_load_mp3(const AssetPath &asset_name, bool loop);
38 SOUNDCLIP *my_load_static_mp3(const AssetPath &asset_name, bool loop);
39 SOUNDCLIP *my_load_static_ogg(const AssetPath &asset_name, bool loop);
40 SOUNDCLIP *my_load_ogg(const AssetPath &asset_name, bool doLoop);
41 SOUNDCLIP *my_load_midi(const AssetPath &asset_name, bool loop);
42 SOUNDCLIP *my_load_mod(const AssetPath &asset_name, bool loop);
43 
44 } // namespace AGS3
45 
46 #endif
Definition: ags.h:40