orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxSoundPointer.h
Go to the documentation of this file.
1/* Orx - Portable Game Engine
2 *
3 * Copyright (c) 2008- Orx-Project
4 *
5 * This software is provided 'as-is', without any express or implied
6 * warranty. In no event will the authors be held liable for any damages
7 * arising from the use of this software.
8 *
9 * Permission is granted to anyone to use this software for any purpose,
10 * including commercial applications, and to alter it and redistribute it
11 * freely, subject to the following restrictions:
12 *
13 * 1. The origin of this software must not be misrepresented; you must not
14 * claim that you wrote the original software. If you use this software
15 * in a product, an acknowledgment in the product documentation would be
16 * appreciated but is not required.
17 *
18 * 2. Altered source versions must be plainly marked as such, and must not be
19 * misrepresented as being the original software.
20 *
21 * 3. This notice may not be removed or altered from any source
22 * distribution.
23 */
24
32
41
42
43#ifndef _orxSOUNDPOINTER_H_
44#define _orxSOUNDPOINTER_H_
45
46
47#include "orxInclude.h"
48#include "object/orxStructure.h"
49#include "sound/orxSound.h"
50
51
54#define orxSOUNDPOINTER_KU32_SOUND_NUMBER 4
55
56
58typedef struct __orxSOUNDPOINTER_t orxSOUNDPOINTER;
59
60
63extern orxDLLAPI void orxFASTCALL orxSoundPointer_Setup();
64
69
72extern orxDLLAPI void orxFASTCALL orxSoundPointer_Exit();
73
74
79
84extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Delete(orxSOUNDPOINTER *_pstSoundPointer);
85
90extern orxDLLAPI void orxFASTCALL orxSoundPointer_Enable(orxSOUNDPOINTER *_pstSoundPointer, orxBOOL _bEnable);
91
96extern orxDLLAPI orxBOOL orxFASTCALL orxSoundPointer_IsEnabled(const orxSOUNDPOINTER *_pstSoundPointer);
97
98
104extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetVolume(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fVolume);
105
111extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPitch(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fPitch);
112
119extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPanning(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fPanning, orxBOOL _bMix);
120
121
126extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Play(orxSOUNDPOINTER *_pstSoundPointer);
127
132extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Pause(orxSOUNDPOINTER *_pstSoundPointer);
133
138extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Stop(orxSOUNDPOINTER *_pstSoundPointer);
139
140
146extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSound(orxSOUNDPOINTER *_pstSoundPointer, orxSOUND *_pstSound);
147
153extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSound(orxSOUNDPOINTER *_pstSoundPointer, orxSOUND *_pstSound);
154
160
166extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSoundFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zSoundConfigID);
167
173extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSoundFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zSoundConfigID);
174
179extern orxDLLAPI orxSOUND *orxFASTCALL orxSoundPointer_GetLastAddedSound(const orxSOUNDPOINTER *_pstSoundPointer);
180
187extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilter(orxSOUNDPOINTER *_pstSoundPointer, const orxSOUND_FILTER_DATA *_pstFilterData, orxBOOL _bUseCustomParam);
188
194
200
206extern orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilterFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zFilterConfigID);
207
212extern orxDLLAPI orxU32 orxFASTCALL orxSoundPointer_GetCount(const orxSOUNDPOINTER *_pstSoundPointer);
213
214#endif /* _orxSOUNDPOINTER_H_ */
215
#define orxDLLAPI
Definition orxDecl.h:381
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSound(orxSOUNDPOINTER *_pstSoundPointer, orxSOUND *_pstSound)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPitch(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fPitch)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetVolume(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fVolume)
orxDLLAPI void orxFASTCALL orxSoundPointer_Setup()
orxDLLAPI orxSOUND *orxFASTCALL orxSoundPointer_GetLastAddedSound(const orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxBOOL orxFASTCALL orxSoundPointer_IsEnabled(const orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveAllFilters(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Init()
orxDLLAPI void orxFASTCALL orxSoundPointer_Exit()
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Delete(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSound(orxSOUNDPOINTER *_pstSoundPointer, orxSOUND *_pstSound)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveLastFilter(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilter(orxSOUNDPOINTER *_pstSoundPointer, const orxSOUND_FILTER_DATA *_pstFilterData, orxBOOL _bUseCustomParam)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Play(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI void orxFASTCALL orxSoundPointer_Enable(orxSOUNDPOINTER *_pstSoundPointer, orxBOOL _bEnable)
orxDLLAPI orxU32 orxFASTCALL orxSoundPointer_GetCount(const orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveAllSounds(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSoundFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zSoundConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Pause(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPanning(orxSOUNDPOINTER *_pstSoundPointer, orxFLOAT _fPanning, orxBOOL _bMix)
orxDLLAPI orxSOUNDPOINTER *orxFASTCALL orxSoundPointer_Create()
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSoundFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zSoundConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Stop(orxSOUNDPOINTER *_pstSoundPointer)
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilterFromConfig(orxSOUNDPOINTER *_pstSoundPointer, const orxSTRING _zFilterConfigID)
#define orxSOUND(STRUCTURE)
#define orxSOUNDPOINTER(STRUCTURE)
orxSTATUS
Definition orxType.h:270

Generated for orx by doxygen 1.8.11