Changeset 3139
- Timestamp:
- Jun 10, 2009, 4:04:42 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/sound/SoundBase.cc
r3133 r3139 32 32 #include <AL/alut.h> 33 33 #include <vorbis/vorbisfile.h> 34 #include <boost/static_assert.hpp>35 34 36 35 #include "util/Math.h" … … 38 37 #include "orxonox/objects/worldentities/WorldEntity.h" 39 38 #include "SoundManager.h" 40 41 // Make sure we correctly avoid including al.h in the header42 BOOST_STATIC_ASSERT(sizeof(uint32_t) == sizeof(ALuint));43 BOOST_STATIC_ASSERT(sizeof(int32_t) == sizeof(ALint));44 39 45 40 namespace orxonox -
code/branches/pch/src/orxonox/sound/SoundBase.h
r3133 r3139 32 32 #include <string> 33 33 34 // forward declarations 35 typedef unsigned int ALuint; 36 typedef int ALint; 37 34 38 namespace orxonox 35 39 { … … 58 62 59 63 private: 60 uint32_t loadOggFile(std::string filename);61 uint32_t source_;62 uint32_t buffer_;64 ALuint loadOggFile(std::string filename); 65 ALuint source_; 66 ALuint buffer_; 63 67 WorldEntity* entity_; 64 68 65 int32_t getSourceState();69 ALint getSourceState(); 66 70 67 71 static SoundManager* soundmanager_s;
Note: See TracChangeset
for help on using the changeset viewer.