Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2007, 6:17:23 PM (16 years ago)
Author:
nicolape
Message:

Added AudioObject Class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/audio/src/audio/Ambient.h

    r334 r338  
    77#include "../../include/AL/alut.h"
    88
     9#include "AudioObject.h"
    910
    1011namespace audio
     
    1314        {
    1415        public:
    15                 Ambient();
     16                Ambient(std::string audioFile);
     17                ~Ambient();
    1618                void play();
    1719        private:
    18                 ALboolean LoadALData();
    19                 void SetListenerValues();
    20                 void KillALData();
    21 
    22                 ALuint Buffer;
    23                 ALuint Source;
    24                 ALfloat SourcePos[3];
    25                 ALfloat SourceVel[3];
    26                 ALfloat ListenerPos[3];
    27                 ALfloat ListenerVel[3];
    28                 ALfloat ListenerOri[6];
     20                AudioObject* a;
    2921        };
    30        
    31        
    32        
    33        
    34        
    3522}
    3623
Note: See TracChangeset for help on using the changeset viewer.