ScummVM API documentation
directsound.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 #ifndef DIRECTOR_LINGO_XTRAS_DIRECTSOUND_H
23 #define DIRECTOR_LINGO_XTRAS_DIRECTSOUND_H
24 
25 namespace Director {
26 
27 class DirectsoundXtraObject : public Object<DirectsoundXtraObject> {
28 public:
29  DirectsoundXtraObject(ObjectType objType);
30 
31  bool hasProp(const Common::String &propName) override;
32  Datum getProp(const Common::String &propName) override;
33 };
34 
35 namespace DirectsoundXtra {
36 
37 extern const char *const xlibName;
38 extern const XlibFileDesc fileNames[];
39 
40 void open(ObjectType type, const Common::Path &path);
41 void close(ObjectType type);
42 
43 void m_new(int nargs);
44 void m_dsOpen(int nargs);
45 void m_dsNewSound(int nargs);
46 void m_dsDelSound(int nargs);
47 void m_dsDupSound(int nargs);
48 void m_dsPlay(int nargs);
49 void m_dsStop(int nargs);
50 void m_dsGetSize(int nargs);
51 void m_dsGetFreq(int nargs);
52 void m_dsSetFreq(int nargs);
53 void m_dsGetVolume(int nargs);
54 void m_dsSetVolume(int nargs);
55 void m_dsGetPan(int nargs);
56 void m_dsSetPan(int nargs);
57 void m_dsGetPosition(int nargs);
58 void m_dsSetPosition(int nargs);
59 void m_dsGetLoop(int nargs);
60 void m_dsSetLoop(int nargs);
61 void m_dsIsPlaying(int nargs);
62 void m_dsGetCaps(int nargs);
63 void m_ds3DOpen(int nargs);
64 void m_ds3DLGetPosition(int nargs);
65 void m_ds3DLSetPosition(int nargs);
66 void m_ds3DLGetOrientation(int nargs);
67 void m_ds3DLSetOrientation(int nargs);
68 void m_ds3DLGetVelocity(int nargs);
69 void m_ds3DLSetVelocity(int nargs);
70 void m_ds3DLGetDopplerFactor(int nargs);
71 void m_ds3DLSetDopplerFactor(int nargs);
72 void m_ds3DLGetRolloffFactor(int nargs);
73 void m_ds3DLSetRolloffFactor(int nargs);
74 void m_ds3DGetPosition(int nargs);
75 void m_ds3DSetPosition(int nargs);
76 void m_ds3DGetOrientation(int nargs);
77 void m_ds3DSetOrientation(int nargs);
78 void m_ds3DGetVelocity(int nargs);
79 void m_ds3DSetVelocity(int nargs);
80 void m_ds3DGetOutsideVolume(int nargs);
81 void m_ds3DSetOutsideVolume(int nargs);
82 void m_ds3DGetAngles(int nargs);
83 void m_ds3DSetAngles(int nargs);
84 void m_ds3DGetMaxDistance(int nargs);
85 void m_ds3DSetMaxDistance(int nargs);
86 void m_ds3DGetMinDistance(int nargs);
87 void m_ds3DSetMinDistance(int nargs);
88 void m_dsClose(int nargs);
89 
90 } // End of namespace DirectsoundXtra
91 
92 } // End of namespace Director
93 
94 #endif
Definition: str.h:59
Definition: path.h:52
Definition: directsound.h:27
Definition: lingo-object.h:37
Definition: archive.h:35
Definition: lingo-object.h:71
Definition: lingo.h:130