Lines 97-102
Link Here
|
97 |
float master_volume; |
97 |
float master_volume; |
98 |
|
98 |
|
99 |
public: |
99 |
public: |
|
|
100 |
// Gentoo |
101 |
ALCdevice* mSoundDevice; |
102 |
ALCcontext* mSoundContext; |
103 |
|
100 |
void Load(); |
104 |
void Load(); |
101 |
void LoadAllSoundFiles(); |
105 |
void LoadAllSoundFiles(); |
102 |
void LoadSoundFile(string filename); |
106 |
void LoadSoundFile(string filename); |
Lines 156-161
Link Here
|
156 |
void UnloadWave(ALvoid* data);*/ |
160 |
void UnloadWave(ALvoid* data);*/ |
157 |
|
161 |
|
158 |
int tochannel(int handle); |
162 |
int tochannel(int handle); |
|
|
163 |
|
164 |
// Gentoo |
165 |
float master_volume; |
159 |
|
166 |
|
160 |
public: |
167 |
public: |
161 |
void Load(); |
168 |
void Load(); |
Lines 174-179
Link Here
|
174 |
void SetPitch(int sid, float pitch); |
181 |
void SetPitch(int sid, float pitch); |
175 |
void SetGain(int sid, float gain); |
182 |
void SetGain(int sid, float gain); |
176 |
void StopSource(int sid); |
183 |
void StopSource(int sid); |
|
|
184 |
|
185 |
// Gentoo |
186 |
void SetMasterVolume(float newvol) {master_volume = newvol; if (master_volume < 0) master_volume = 0; if (master_volume > 1) master_volume = 1;} |
187 |
float GetMasterVolume() {return master_volume;} |
177 |
|
188 |
|
178 |
//void SetPos(int sid, VERTEX pos); |
189 |
//void SetPos(int sid, VERTEX pos); |
179 |
//void SetVel(int sid, VERTEX vel); |
190 |
//void SetVel(int sid, VERTEX vel); |