Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6858 in orxonox.OLD


Ignore:
Timestamp:
Jan 30, 2006, 4:22:56 AM (18 years ago)
Author:
bensch
Message:

compile, but do not know if run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/sound_engine.cc

    r6857 r6858  
    292292
    293293  // INITIALIZING THE DEVICE:
    294 #ifndef AL_VERSION_1_1
    295   unsigned
    296 #endif
    297   char deviceName[] =
    298   #ifdef __WIN32__
    299         "Direct3D";
    300   #else
    301         "'( ( devices '( native null ) ) )";
    302   #endif
    303 
    304   this->device = alcOpenDevice(deviceName);
     294//   char deviceName[] =
     295//   #ifdef __WIN32__
     296//     "Direct3D";
     297//   #else
     298//     "'( ( devices '( native null ) ) )";
     299//   #endif
     300
     301  this->device = alcOpenDevice(NULL);
    305302  this->checkALCError("opening Device", __LINE__);
    306   printf("%p\n", this->device);
    307303
    308304  PRINTF(4)("Audio-Specifier: %s\n", (const char*)alcGetString(this->device, ALC_DEVICE_SPECIFIER));
Note: See TracChangeset for help on using the changeset viewer.