Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 98094 | Differences between
and this patch

Collapse All | Expand All

(-)include/sound.h.origin (+7 lines)
Lines 156-161 Link Here
156
        void UnloadWave(ALvoid* data);*/
156
        void UnloadWave(ALvoid* data);*/
157
157
158
        int tochannel(int handle);
158
        int tochannel(int handle);
159
160
	// Gentoo
161
	float master_volume;
159
        
162
        
160
public:
163
public:
161
        void Load();
164
        void Load();
Lines 174-179 Link Here
174
        void SetPitch(int sid, float pitch);
177
        void SetPitch(int sid, float pitch);
175
        void SetGain(int sid, float gain);
178
        void SetGain(int sid, float gain);
176
        void StopSource(int sid);
179
        void StopSource(int sid);
180
181
	// Gentoo
182
        void SetMasterVolume(float newvol) {master_volume = newvol; if (master_volume < 0) master_volume = 0; if (master_volume > 1) master_volume = 1;}
183
	float GetMasterVolume() {return master_volume;}
177
        
184
        
178
        //void SetPos(int sid, VERTEX pos);
185
        //void SetPos(int sid, VERTEX pos);
179
        //void SetVel(int sid, VERTEX vel);
186
        //void SetVel(int sid, VERTEX vel);

Return to bug 98094