Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
audiolib.h
Go to the documentation of this file.
1
#ifndef _AUDIO_LIB_H_
2
#define _AUDIO_LIB_H_
3
#include "
gfx/vec.h
"
4
#include <string>
5
bool
AUDInit
();
6
void
AUDDestroy
();
8
void
AUDListenerSize
(
const
float
size
);
9
void
AUDListener
(
const
QVector
&pos,
const
Vector
&vel );
10
QVector
AUDListenerLocation
();
12
void
AUDRefreshSounds
();
14
void
AUDListenerOrientation
(
const
Vector
&i,
const
Vector
&j,
const
Vector
&k );
15
void
AUDListenerGain
(
const
float
gain );
16
float
AUDGetListenerGain
();
18
int
AUDCreateSoundWAV
(
const
std::string&,
const
bool
LOOP =
false
);
20
int
AUDCreateSoundMP3
(
const
std::string&,
const
bool
LOOP =
false
);
22
int
AUDCreateMusicWAV
(
const
std::string&,
const
bool
LOOP =
false
);
24
int
AUDCreateMusicMP3
(
const
std::string&,
const
bool
LOOP =
false
);
26
int
AUDCreateSound
(
int
sound,
const
bool
LOOP =
false
);
28
int
AUDCreateSound
(
const
std::string&,
const
bool
LOOP =
false
);
30
int
AUDCreateMusic
(
const
std::string&,
const
bool
LOOP =
false
);
31
void
AUDStopAllSounds
(
int
except_this_one = -1 );
32
int
AUDHighestSoundPlaying
();
34
void
AUDDeleteSound
(
int
sound,
bool
music =
false
);
36
void
AUDAdjustSound
(
const
int
sound,
const
QVector
&pos,
const
Vector
&vel );
38
void
AUDStreamingSound
(
const
int
sound );
40
void
AUDSoundGain
(
int
sound,
float
gain,
bool
music =
false
);
42
bool
AUDIsPlaying
(
const
int
sound );
44
void
AUDStopPlaying
(
const
int
sound );
46
void
AUDStartPlaying
(
const
int
sound );
48
void
AUDPlay
(
const
int
sound,
const
QVector
&pos,
const
Vector
&vel,
const
float
gain );
50
void
AUDPausePlaying
(
const
int
sound );
52
void
AUDChangeVolume
(
float
volume
);
53
float
AUDGetVolume
();
55
void
AUDChangeDoppler
(
float
doppler );
57
float
AUDGetCurrentPosition
(
const
int
sound );
59
float
AUDGetDoppler
();
60
//#define PERFRAMESOUND
61
#endif
62
src
audiolib.h
Generated on Fri May 29 2015 23:07:07 for Vegastrike 0.5.1 rc1 by
1.8.4