Changeset 6047 in orxonox.OLD for branches/spaceshipcontrol/src
- Timestamp:
- Dec 11, 2005, 2:55:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/lib/sound/sound_engine.cc
r6004 r6047 289 289 } 290 290 // INITIALIZING THE DEVICE: 291 292 #ifndef AL_VERSION_1_1293 ALubyte deviceName[] =294 #else295 ALCchar deviceName[] =296 #endif297 298 #ifdef __WIN32__299 "Direct3D";300 #else301 "'( ( devices '( native null ) ) )";302 #endif303 //304 this->device = alcOpenDevice(deviceName);305 306 this->context = alcCreateContext(this->device, NULL);307 308 alcMakeContextCurrent(this->context);291 alutInit(0, NULL); 292 // #ifndef AL_VERSION_1_1 293 // ALubyte deviceName[] = 294 // #else 295 // ALCchar deviceName[] = 296 // #endif 297 // 298 // #ifdef __WIN32__ 299 // "Direct3D"; 300 // #else 301 // "'( ( devices '( native null ) ) )"; 302 // #endif 303 // // 304 // this->device = alcOpenDevice(deviceName); 305 // 306 // this->context = alcCreateContext(this->device, NULL); 307 // 308 // alcMakeContextCurrent(this->context); 309 309 310 310 if ((result = alGetError()) != AL_NO_ERROR)
Note: See TracChangeset
for help on using the changeset viewer.