Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97293 Details for
Bug 148000
games-sports/ultimatestunts-0.6.2 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ultimatestunts-0.6.2-freealut.patch
ultimatestunts-0.6.2-freealut.patch (text/plain), 1.73 KB, created by
Tristan Heaven (RETIRED)
on 2006-09-17 18:39:06 UTC
(
hide
)
Description:
ultimatestunts-0.6.2-freealut.patch
Filename:
MIME Type:
Creator:
Tristan Heaven (RETIRED)
Created:
2006-09-17 18:39:06 UTC
Size:
1.73 KB
patch
obsolete
>--- configure.ac >+++ configure.ac >@@ -129,7 +129,7 @@ > dnl Check openAL audio library (currently default) > dnl ------------------------ > AC_CHECK_HEADER(AL/al.h, AC_DEFINE([OPENAL_HEADER], [], [OpenAL headers])) >-AC_CHECK_LIB(openal, alGetError, soundlibs="-lopenal $soundlibs";AC_DEFINE([HAVE_LIBOPENAL], [], [OpenAL Lib])) >+AC_CHECK_LIB(openal, alGetError, soundlibs="-lopenal -lalut $soundlibs";AC_DEFINE([HAVE_LIBOPENAL], [], [OpenAL Lib])) > > if test "x$soundlibs" = "x" ; then > >--- ultimatestunts/sndsample.cpp >+++ ultimatestunts/sndsample.cpp >@@ -96,10 +96,7 @@ > //data (and default values) > void *wave = NULL; > ALsizei >- format = AL_FORMAT_MONO16, >- size = 0, >- bits = 0, >- freq = 44100; >+ size = 0; > > CString extension = realfile.mid(realfile.length() - 4); > extension.toLower(); >@@ -108,7 +105,7 @@ > { > //the loading proc > ALboolean (*alutLoadVorbis)(ALuint, ALvoid *, ALint) = >- (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress((ALubyte *) VORBISFUNC); >+ (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress(VORBISFUNC); > > if(alutLoadVorbis == NULL) > { >@@ -134,7 +131,7 @@ > { > //the loading proc > ALboolean (*alutLoadMP3)(ALuint, ALvoid *, ALint) = >- (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress((ALubyte *) MP3FUNC); >+ (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress(MP3FUNC); > > if(alutLoadMP3 == NULL) > { >@@ -158,9 +155,9 @@ > } > else //default: load as wave file > { >- alGenBuffers(1, &m_Buffer); >- alutLoadWAV(realfile.c_str(), &wave, &format, &size, &bits, &freq); >- alBufferData(m_Buffer, format, wave, size, freq); >+ m_Buffer = alutCreateBufferFromFile(realfile.c_str()); >+ if(m_Buffer == AL_NONE) >+ printf("%s\n", alutGetErrorString(alutGetError())); > } > > free(wave);
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 148000
: 97293 |
97294
|
97295
|
97296
|
97355
|
97356