Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72156 Details for
Bug 98094
[EBUILD] games-sports/vdrift-20070323
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch : vdrift-20051103-gentoo-compile.patch
vdrift-20051103-gentoo-compile.patch (text/plain), 1.41 KB, created by
fabien Zouaoui
on 2005-11-04 23:00:19 UTC
(
hide
)
Description:
patch : vdrift-20051103-gentoo-compile.patch
Filename:
MIME Type:
Creator:
fabien Zouaoui
Created:
2005-11-04 23:00:19 UTC
Size:
1.41 KB
patch
obsolete
>--- src/sound.cpp.origin 2005-10-30 10:07:48.000000000 +0100 >+++ src/sound.cpp 2005-11-05 07:36:27.000000000 +0100 >@@ -185,6 +185,13 @@ > alDeleteSources(1, &sources[i]); > } > >+ // Destroy the sound context and device (Gentoo) >+ mSoundContext = alcGetCurrentContext(); >+ mSoundDevice = alcGetContextsDevice( mSoundContext ); >+ alcDestroyContext( mSoundContext ); >+ if ( mSoundDevice) >+ alcCloseDevice( mSoundDevice ); >+ > alutExit(); > > delete [] buffers; >--- include/sound.h.origin 2005-11-04 21:09:44.000000000 +0100 >+++ include/sound.h 2005-11-05 07:36:01.000000000 +0100 >@@ -97,6 +97,10 @@ > float master_volume; > > public: >+ // Gentoo >+ ALCdevice* mSoundDevice; >+ ALCcontext* mSoundContext; >+ > void Load(); > void LoadAllSoundFiles(); > void LoadSoundFile(string filename); >@@ -156,6 +160,9 @@ > void UnloadWave(ALvoid* data);*/ > > int tochannel(int handle); >+ >+ // Gentoo >+ float master_volume; > > public: > void Load(); >@@ -174,6 +181,10 @@ > void SetPitch(int sid, float pitch); > void SetGain(int sid, float gain); > void StopSource(int sid); >+ >+ // Gentoo >+ void SetMasterVolume(float newvol) {master_volume = newvol; if (master_volume < 0) master_volume = 0; if (master_volume > 1) master_volume = 1;} >+ float GetMasterVolume() {return master_volume;} > > //void SetPos(int sid, VERTEX pos); > //void SetVel(int sid, VERTEX vel);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98094
:
62736
|
69326
|
69373
|
69374
|
69566
|
69567
|
69807
|
69857
|
69858
|
72131
|
72132
|
72155
|
72156
|
76168
|
81358
|
82297
|
86211
|
92315
|
99826
|
101517
|
114228
|
114350